cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rod Farmer <...@cs.mu.OZ.AU>
Subject Help installing COCOON
Date Thu, 11 Oct 2001 07:34:25 GMT
I'm having an enormous amount of difficulty actually setting up COCOON.

I am running under Mandrake.  I have set up JAVA_HOME J2EE_HOME ANT_HOME nad
TOMCAT_HOME. When I try and build COCOON, it initialises, the it builds
the build directory and then it bails saying that it can't find a bunch
of classes for the xslp - is tells me to use trax or xerces.

I thought COCOON came with xerces.jar and xalan.jar etc...


I know I am doing something wrong if I can't run the thing out of the box. I
haven't set a CLASSPATH as I haven't had to do so before for JAVA.

If you have the time read below and look at the error messages.  Thank you so much in advance.


Rod Farmer

[root@motion cocoon]# ./build.sh  -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps
install

Apache Cocoon 2 Build System
----------------------------
Buildfile: build.xml

init:
------------------- Apache Cocoon 2.0rc1 [1999-2001] ----------------

generate-java-code:
DEPRECATED - xslp processor is deprecated. Use trax or xalan instead.
java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.XalanLiaison
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:290)
        at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:276)
        at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:406)
        at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:141)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        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)
java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.XslpLiaison
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:290)
        at org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:272)
        at org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:403)
        at org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:141)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:164)
        at org.apache.tools.ant.Target.performTasks(Target.java:182)
        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)

BUILD FAILED

/usr/local/apps/cocoon/build.xml:378: javax.xml.transform.TransformerFactoryConfigurationError:
Provider org.apache.xalan.processor.TransformerFactoryImpl not found

Total time: 3 seconds

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message