You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Diana Shannon <sh...@apache.org> on 2003/03/09 20:18:38 UTC
docs build exception, cocoon-2.0 repo
Has anyone been able to build cocoon-2.0 docs successfully?
I'm trying to rule out a configuration problem on my end before digging
deeper. (OS X, Java 1.3.1) I'm getting the following after ./build.sh
docs
docs:
ERROR 2003-03-09 13:44:45.683 [ ] (): Could not load parser,
Cocoon object not created.
java.lang.ClassNotFoundException:
org.apache.avalon.excalibur.xml.JaxpParser
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
org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:88)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:256)
at org.apache.cocoon.Main.main(Main.java:378)
FATAL_E 2003-03-09 13:44:45.854 [ ] (): Exception caught
org.apache.avalon.framework.configuration.ConfigurationException: Could
not load parser org.apache.avalon.excalibur.xml.JaxpParser
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:259)
at org.apache.cocoon.Main.main(Main.java:378)
BUILD FAILED
/Users/ds/cvs-apps/c2-release/cocoon-2.0/build.xml:1125: Java returned: 1
Thanks.
Diana
RE: docs build exception, cocoon-2.0 repo
Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Fixed now. Build docs in cocoon-2.0 works again.
Sorry!
Carsten
RE: docs build exception, cocoon-2.0 repo
Posted by Carsten Ziegeler <cz...@s-und-n.de>.
The cocoon.xconf has to be updated as well. Sorry for
this problem, it seems that my ide has refused to commit
the changes for any reason - I will fix this asap.
Carsten
> -----Original Message-----
> From: Diana Shannon [mailto:shannon@apache.org]
> Sent: Sunday, March 09, 2003 11:50 PM
> To: cocoon-dev@xml.apache.org
> Subject: Re: docs build exception, cocoon-2.0 repo
>
>
> On Sunday, March 9, 2003, at 02:18 PM, Diana Shannon wrote:
>
> > FATAL_E 2003-03-09 13:44:45.854 [ ] (): Exception caught
> > org.apache.avalon.framework.configuration.ConfigurationException: Could
> > not load parser org.apache.avalon.excalibur.xml.JaxpParser
>
> Reviewing Carsten's cvs commit
> http://marc.theaimsgroup.com/?l=xml-cocoon-cvs&m=104696278122499&w=2
> it appears references to org.apache.avalon.excalibur.xml.JaxpParser are
> being phased out in other files.
>
> Trying
> javap -classpath `echo lib/core/*.jar | tr ' ' ':'`
> org.apache.excalibur.xml.JaxpParser
> Yields
> Class 'org.apache.excalibur.xml.JaxpParser' not found
>
> It appears the new excalibur-xmlutil jar uses
> org.apache.excalibur.xml.impl.JaxpParser
>
> The following files still contain references to
> org.apache.avalon.excalibur.xml.JaxpParser
> src/documentation/cocoon.xconf
> src/java/org/apache/cocoon/Constants.java
> src/java/org/apache/cocoon/cocoon.roles
>
> It isn't clear if these files also need to be updated or if the classes
> they refer to are merely deprecated (and need inclusion). So ... I'm
> unable to update the web site about the new repository changes until
> this is docs build problem is resolved. Any advice welcome.
>
> Diana
>
Re: docs build exception, cocoon-2.0 repo
Posted by Diana Shannon <sh...@apache.org>.
On Sunday, March 9, 2003, at 02:18 PM, Diana Shannon wrote:
> FATAL_E 2003-03-09 13:44:45.854 [ ] (): Exception caught
> org.apache.avalon.framework.configuration.ConfigurationException: Could
> not load parser org.apache.avalon.excalibur.xml.JaxpParser
Reviewing Carsten's cvs commit
http://marc.theaimsgroup.com/?l=xml-cocoon-cvs&m=104696278122499&w=2
it appears references to org.apache.avalon.excalibur.xml.JaxpParser are
being phased out in other files.
Trying
javap -classpath `echo lib/core/*.jar | tr ' ' ':'`
org.apache.excalibur.xml.JaxpParser
Yields
Class 'org.apache.excalibur.xml.JaxpParser' not found
It appears the new excalibur-xmlutil jar uses
org.apache.excalibur.xml.impl.JaxpParser
The following files still contain references to
org.apache.avalon.excalibur.xml.JaxpParser
src/documentation/cocoon.xconf
src/java/org/apache/cocoon/Constants.java
src/java/org/apache/cocoon/cocoon.roles
It isn't clear if these files also need to be updated or if the classes
they refer to are merely deprecated (and need inclusion). So ... I'm
unable to update the web site about the new repository changes until
this is docs build problem is resolved. Any advice welcome.
Diana