ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Delsaux <nicolas.dels...@free.fr>
Subject Style task and config issues
Date Wed, 21 Mar 2001 10:17:52 GMT
Hi, I'm trying to process files with the style task, and the ant process is failing.
For more info, I initially had the 
java.ClassNotFound exception for the class
org.apache.tools.ant.taskdefs.optionnal.TRAXLiaison class, so I downloaded the optionnal.jar
package and put it in my lib folder. What's more, I also downloaded the xalan 2.0.1 application
in order to have TRAX on my PC.
Now that all is installed, and all the necessary packages for Xalan 2 are in my Classpath,
I've a new exception :

E:\Nicolas\build.xml:18: java.lang.NoClassDefFoundError: javax/xml/transform/Source
--- Nested Exception ---
java.lang.NoClassDefFoundError: javax/xml/transform/Source
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:120)
	at org.apache.tools.ant.taskdefs.XSLTProcess.setProcessor(XSLTProcess.java:229)
	at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:137)
	at org.apache.tools.ant.Target.execute(Target.java:153)
	at org.apache.tools.ant.Project.runTarget(Project.java:898)
	at org.apache.tools.ant.Project.executeTarget(Project.java:536)
	at org.apache.tools.ant.Project.executeTargets(Project.java:510)
	at org.apache.tools.ant.Main.runBuild(Main.java:421)
	at org.apache.tools.ant.Main.main(Main.java:149)

Is there someone to tell me how to solve this unattended issue ?

Thanks

Nicolas Delsaux

Mime
View raw message