Hello. I downloaded last night's build and compiled it. I was able to
compile it with xalan/xerces (that I coopted from Cocoon 1.8) but not with
jaxp.jar/parser.jar (that I coopted from Tomcat 3.2.1). From the
stacktrace (see below), it looks like an Ant (1.2) "import" problem, but
it's a Struts problem too if you can't compile it! I also tried the
jaxp.jar/parser.jar combination that came with Ant but had the same
negative result. (BTW, I don't have multiple parsers in my classpath.)
Also, I am just starting a project that I plan to use Struts 1.x. I
plan on developing on Tomcat and eventually deploying on
Tomcat/Apache. Does this sound reasonable? Should I plan on developing and
deploying on Tomcat 3.2.1 or 4.x? I have mixed thoughts about deploying on
a servlet engine (4.x) that's implementing on new (2.3) servlet API. Thanks
in advance for your advice.
BUILD FAILED
/usr/apps/struts/jakarta-struts/build.xml:125: java.lang.NoClassDefFoundError: o
rg/apache/xalan/xslt/XSLTProcessorFactory
java.lang.NoClassDefFoundError: org/apache/xalan/xslt/XSLTProcessorFactory
at
org.apache.tools.ant.taskdefs.optional.XalanLiaison.<init>(XalanLiais
on.java)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at
org.apache.tools.ant.taskdefs.XSLTProcess.setProcessor(XSLTProcess.ja
va:210)
at
org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:13
3)
at org.apache.tools.ant.Target.execute(Target.java:142)
at org.apache.tools.ant.Project.runTarget(Project.java:818)
at org.apache.tools.ant.Project.executeTarget(Project.java:532)
at org.apache.tools.ant.Project.executeTargets(Project.java:506)
at org.apache.tools.ant.Main.runBuild(Main.java:420)
at org.apache.tools.ant.Main.main(Main.java:149)
Total time: 9 seconds