1 Reply Latest reply: Nov 25, 2011 4:08 AM by 805738 RSS

    "lib_external" does not exist - Error in ant build

    803239
      Can anybody, tell me please what is the reason I am getting the error lib_external does not exist, when trying to build a simple struts web-application to create a war file.

      The full error message is given below:
      ===========================================================
      C:\Basic_Struts2_Ant>ant
      Buildfile: C:\Basic_Struts2_Ant\build.xml

      clean:
      [delete] Deleting directory C:\Basic_Struts2_Ant\dist
      [delete] Deleting directory C:\Basic_Struts2_Ant\build

      init:
      [mkdir] Created dir: C:\Basic_Struts2_Ant\build

      compile:
      [mkdir] Created dir: C:\Basic_Struts2_Ant\build\WEB-INF\classes
      [javac] C:\Basic_Struts2_Ant\build.xml:69: warning: 'includeantruntime' was not set, defaulting
      to build.sysclasspath=last; set to false for repeatable builds
      [javac] Compiling 2 source files to C:\Basic_Struts2_Ant\build\WEB-INF\classes

      BUILD FAILED
      C:\Basic_Struts2_Ant\build.xml:69: C:\Basic_Struts2_Ant\lib_external does not exist.

      Total time: 2 seconds
      C:\Basic_Struts2_Ant>
      ===============================================================

      can someone give me the clue faced the same problem earlier.

      Thanks.
      Sujoy