cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Goodwin" <tony.good...@dact.demon.co.uk>
Subject C2B2 Sitemap compile failure - AbstractGenerator
Date Wed, 05 Sep 2001 13:53:23 GMT
Hi,
Cocoon 2.0b2
JBoss 2.4.0 with tomcat 3.2.3

I have problem with compilation of sitemap.xmap where error is indicating
class not found - org/apache/cocoon/generation/AbstractGenerator
I have traced error to sitemap.xmap.java line where I load my own Generator
which extends
the AbstractGenerator

        sitemap.load_component (Sitemap.GENERATOR, "my-Generator",
                                "org.mine.MyGenerator",
                                cconf1, null);

The org.mine.MyGenerator class can be found within WEB-INF/classes - which I
assume is on the path as is cocoon2.0b2.jar in WEB-INF/lib.

Any ideas -
Thanks for any help

Tony


Cocoon.log extract
-------------------
ERROR   99969   [cocoon  ] (Thread-36): Error compiling sitemap
java.lang.NoClassDefFoundError:
org/apache/cocoon/generation/AbstractGenerator
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$100(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.j
ava:446)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:46)
	at
org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.jav
a:212)
	at
org.apache.cocoon.www.sitemap_xmap$Configurer.configGenerators(sitemap_xmap.
java:410)


-------------------------------------------
Tony Goodwin
Dact Ltd.
07775 918903
mailto:tony.goodwin@dacttechnologies.com


---------------------------------------------------------------------
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