ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krzysztof Hycnar" <hic...@wp.pl>
Subject ProjectHelper.class not found while building... heeeeeeelp :)
Date Thu, 31 Jul 2003 22:31:05 GMT
Hi all,

I'm new to both Ant and the list, so at first I'd like to say hello to all of you :).

I've got a problem that seems a bizzare one to me. When I try to build Tomcat (using Ant of
course) I get the NoClassDefFoundError exception. The complete listage printed on the screen
looks like follows (the command I type is "ant -verbose")

Apache Ant version 1.5.3 compiled on July 30 2003
Buildfile: build.xml
Detected Java version: 1.3 in: /opt/IBMJava2-13/jre
Detected OS: Linux

BUILD FAILED
Unable to load default ProjectHelper due to java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException
        at java.lang.Throwable.<init>(Throwable.java:96)
        at java.lang.Exception.<init>(Exception.java:44)
        at java.lang.RuntimeException.<init>(RuntimeException.java:49)
        at org.apache.tools.ant.BuildException.<init>(BuildException.java:99)
        at org.apache.tools.ant.ProjectHelper.getProjectHelper(ProjectHelper.java:221)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:116)
        at org.apache.tools.ant.Main.runBuild(Main.java:596)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)
--- Nested Exception ---
java.lang.NoClassDefFoundError: org/xml/sax/SAXParseException
        at org.apache.tools.ant.ProjectHelper.getProjectHelper(ProjectHelper.java:217)
        at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:116)
        at org.apache.tools.ant.Main.runBuild(Main.java:596)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

The CLASSPATH on my comp is: "/usr/local/lib:/usr/local/ant/lib:.:..:" - so it includes the
path where the "ant.jar" is located, and the "ant.jar" contains the ProjectHelper.class of
course!!

Would be grateful for any suggestions...

Regards
Chris

------------------------------------------------------------------
"Kto pierwszy, ten lepszy!" - słodka zemsta Elizabeth Hurley...
Od 1 sierpnia w kinie! < http://film.wp.pl/p/film.html?id=2043 >




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message