Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
When building a "war" from a fresh-site the pdf plugin fails with:
ERROR (2009-01-30) 10:51.27:086 [sitemap] (/my-project/samples-b/faq.html) http-8080-1/ExcaliburComponentManager: Caught an exception trying to initialize the component handler.
org.apache.avalon.framework.configuration.ConfigurationException: Could not load class org.apache.cocoon.blocks.fop.FOPNGSerializer for component named 'fo2pdf' at file:///home/thorsten/src/apache/tomcat6/webapps/my-project/build/plugins/org.apache.forrest.plugin.output.pdf/output.xmap:38:116
at org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:236)
at org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector.configure(ComponentsSelector.java:158)
at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
...
Caused by: java.lang.ClassNotFoundException: org.apache.cocoon.blocks.fop.FOPNGSerializer
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:228)
... 296 more
ERROR (2009-01-30) 10:51.27:086 [sitemap] (/my-project/samples-b/faq.html) http-8080-1/ExcaliburComponentManager: Caught an exception trying to initialize the component handler.
org.apache.avalon.framework.configuration.ConfigurationException: Could not load class org.apache.cocoon.blocks.fop.FOPNGSerializer for component named 'fo2pdf' at file:///home/thorsten/src/apache/tomcat6/webapps/my-project/build/plugins/org.apache.forrest.plugin.output.pdf/output.xmap:38:116
at org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:236)
at org.apache.cocoon.components.treeprocessor.sitemap.ComponentsSelector.configure(ComponentsSelector.java:158)
at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
...
Caused by: java.lang.ClassNotFoundException: org.apache.cocoon.blocks.fop.FOPNGSerializer
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
at org.apache.cocoon.components.ExtendedComponentSelector.configure(ExtendedComponentSelector.java:228)
... 296 more
Attachments
Issue Links
- is part of
-
FOR-1074 the war target needs to include supporting jars that are provided in each plugin lib directory
- Closed