Check sitemap_xmap.java line 490. You will find it in  (I'm guessing tomcat?) tomcat_home/work(or webapp)/localhost%app%(or siteyou areusing)/org/apache/cocoon/www/sitemap_xmap.java
That line should tell you what class isn't loading (from message below)
 
In general I would say that NoClassDefFound errors are due to lots of different reasons (batiks-all.jar only being one of them)
Tony
-----Original Message-----
From: Stefaan Nachtergaele [mailto:[EMAIL PROTECTED]]
Sent: 07 September 2001 11:12
To: Cocoon-Users
Subject: site map not loading - NoClassDefFoundError DefaultComponentFactory batik-all.jar

Hello,

 

The message from the browser when I go to /cocoon is

 

exception

org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.

 

The cocoon.log entry is included below. I found something in the dev-cocoon list which attributes the problem to batik-all.jar incompatibility. I don’t have this jar on my system though. Anyone have a clue?

 

ERROR   64754   [cocoon  ] (Thread-31): Error compiling sitemap

java.lang.NoClassDefFoundError

        at java.lang.Class.newInstance0(Native Method)

        at java.lang.Class.newInstance(Class.java:237)

        at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:83)

        at org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:70)

        at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:82)

        at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(SoftResourceLimitingPool.java:67)

        at org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(PoolableComponentHandler.java:75)

        at org.apache.avalon.excalibur.component.DefaultComponentSelector.addComponent(DefaultComponentSelector.java:306)

        at org.apache.cocoon.sitemap.SitemapComponentSelector.addSitemapComponent(SitemapComponentSelector.java:42)

        at org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:150)

        at org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(sitemap_xmap.java:940)

        at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:490)

        at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:110)

        at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:78)

        at org.apache.avalon.excalibur.component.DefaultComponentSelector.addComponent(DefaultComponentSelector.java:306)

        at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:75)

        at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:71)

        at org.apache.cocoon.components.language.generator.GeneratorSelector.select(GeneratorSelector.java:57)

        at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.select(ProgramGeneratorImpl.java:261)

        at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:145)

        at org.apache.cocoon.sitemap.Handler.run(Handler.java:224)

        at java.lang.Thread.run(Thread.java:484)

Reply via email to