ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mav Rck" <mvrc...@hotmail.com>
Subject Problems with compilation
Date Tue, 01 Jan 2002 19:53:11 GMT
Iam getting the following problems when I try to use ANT. Iam a newbie and 
any help is greatly appreciated

Buildfile: build.xml

init:
     [echo] --------- jakarta-struts 1.0 ---------
     [echo]
     [echo] java.class.path = 
/usr/local/jakarta-ant-1.4.1/lib/xalan.jar:/usr/local/jakarta-ant-1.4.1/lib/jaxp.jar:/usr/local/jakarta-ant-1.4.1/lib/crimson.jar:/usr/local/jakarta-ant-1.4.1/lib/ant.jar:/usr/local/jakarta-tomcat-4.0.1/common/lib/servlet.jar:/usr/local/jakarta-tomcat-4.0.1/lib/jasper-compiler.jar:/usr/local/jakarta-tomcat-4.0.1/lib/jasper-runtime.jar:/usr/java/jdk1.3.1_02/lib/tools.jar
     [echo] java.home = /usr/java/jdk1.3.1_02/jre
     [echo] user.home = /root
     [echo] build.compiler = ${build.compiler}

prepare.dist:

prepare.library:

compile.library:
    [style] DEPRECATED - the style attribute should be relative to the 
project's
    [style]              basedir, not the tasks's basedir.
    [style] Transforming into 
/root/emerald/uilib/java/jakarta-struts-1.0-src/target/library
    [style] Transforming into 
/root/emerald/uilib/java/jakarta-struts-1.0-src/target/library
    [style] Loading stylesheet 
/root/emerald/uilib/java/jakarta-struts-1.0-src/doc/stylesheets/tld.xsl

BUILD FAILED

java.lang.NoClassDefFoundError: org/w3c/dom/traversal/NodeIterator
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at org.apache.xml.utils.ObjectPool.<init>(ObjectPool.java:100)
        at 
org.apache.xalan.transformer.TransformerImpl.<init>(TransformerImpl.java:236)
        at 
org.apache.xalan.templates.StylesheetRoot.newTransformer(StylesheetRoot.java:175)
        at 
org.apache.tools.ant.taskdefs.optional.TraXLiaison.setStylesheet(TraXLiaison.java:112)
        at 
org.apache.tools.ant.taskdefs.XSLTProcess.configureLiaison(XSLTProcess.java:459)
        at 
org.apache.tools.ant.taskdefs.XSLTProcess.process(XSLTProcess.java:340)
        at 
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:179)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:184)
        at org.apache.tools.ant.Target.performTasks(Target.java:202)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

Total time: 4 seconds
org/w3c/dom/traversal/NodeIterator

Can anyone help me out here ?

Thanks,
Mav

_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


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


Mime
View raw message