struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Afshartous <afs...@iclick.com>
Subject building struts
Date Wed, 11 Oct 2000 20:45:00 GMT

Hi,

(sorry I couldn't see any reference to the mail archives on
 the Struts home page)

I just tried to build Struts and am getting the compile error
below (java.lang.NoClassDefFoundError: java/util/ArrayList).

My CLASSPATH is set up as:

  CLASSPATH=/net_disk/home/afshar/local/jdk1.3/lib/tools.jar
  CLASSPATH=/net_disk/home/afshar/local/jdk1.3/lib/dt.jar
  export CLASSPATH=$CLASSPATH:/net_disk/home/afshar/local/jakarta-servletapi/lib/servlet.jar

Please advise, thanks.
-- 

	Nick


/net_disk/home/afshar/local/jakarta-struts > ant
Buildfile: build.xml

prepare.library:

compile.library:
    [javac] Compiling 8 source files to /net_disk/home/afshar/local/build/struts/library/classes

BUILD FAILED

java.lang.NoClassDefFoundError: java/util/ArrayList
        at sun.tools.javac.Main.compile(Main.java:210)
        at org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java:529)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:295)
        at org.apache.tools.ant.Target.execute(Target.java:132)
        at org.apache.tools.ant.Project.runTarget(Project.java:717)
        at org.apache.tools.ant.Project.executeTarget(Project.java:448)
        at org.apache.tools.ant.Project.executeTargets(Project.java:422)
        at org.apache.tools.ant.Main.runBuild(Main.java:279)
        at org.apache.tools.ant.Main.main(Main.java:107)

Mime
View raw message