Re: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/messaging/MessageHandler
Hi Aaron, Switching to forrest 0.8 solves the problem. Also, thanks for help file the issue in jira regarding to forrest v0.9. Thank you very much. On Wed, Jun 15, 2011 at 10:12 AM, Aaron T. Myers wrote: > Also, I've filed https://issues.apache.org/jira/browse/HADOOP-7394 to track > this issue. > > -- > Aaron T. Myers > Software Engineer, Cloudera > > > > On Tue, Jun 14, 2011 at 7:06 PM, Aaron T. Myers wrote: > >> Hey Thomas, >> >> I believe you're getting this error because you're setting forrest.home to >> use Forrest 0.9. For some reason I'm not quite sure of (perhaps a Forrest >> bug?) trying to build the docs with 0.9 gives me the same error. >> >> You can grab Forrest 0.8 from here: >> http://archive.apache.org/dist/forrest/0.8/ >> >> -- >> Aaron T. Myers >> Software Engineer, Cloudera >> >> >> >> On Mon, Jun 13, 2011 at 10:26 PM, Thomas Anderson < >> t.dt.aander...@gmail.com> wrote: >> >>> When compiling source against the latest trunk in common repository, >>> it throws fop exception, I can't found where to add this lib e.g fop >>> v1.0. Any config file needed to be altered so that the compilation >>> would work? >>> >>> Thanks. >>> >>> [exec] Exception in thread "main" java.lang.NoClassDefFoundError: >>> org/apache/fop/messaging/MessageHandler >>> [exec] at >>> >>> org.apache.cocoon.serialization.FOPSerializer.configure(FOPSerializer.java:122) >>> [exec] at >>> >>> org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201) >>> [exec] at >>> >>> org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:289) >>> [exec] at >>> >>> org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.newPoolable(InstrumentedResourceLimitingPool.java:655) >>> [exec] at >>> >>> org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.get(InstrumentedResourceLimitingPool.java:371) >>> [exec] at >>> >>> org.apache.avalon.excalibur.component.PoolableComponentHandler.doGet(PoolableComponentHandler.java:198) >>> [exec] at >>> >>> org.apache.avalon.excalibur.component.ComponentHandler.get(ComponentHandler.java:381) >>> [exec] at >>> >>> org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:215) >>> [exec] at >>> >>> org.apache.cocoon.components.ExtendedComponentSelector.select(ExtendedComponentSelector.java:268) >>> [exec] at >>> >>> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setSerializer(AbstractProcessingPipeline.java:311) >>> [exec] at >>> >>> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setSerializer(AbstractCachingProcessingPipeline.java:171) >>> [exec] at >>> >>> org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120) >>> [exec] at >>> >>> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) >>> [exec] at >>> >>> org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:103) >>> [exec] at >>> >>> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) >>> [exec] at >>> >>> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:131) >>> [exec] at >>> >>> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) >>> [exec] at >>> >>> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) >>> [exec] at >>> >>> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) >>> [exec] at >>> >>> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) >>> [exec] at >>> >>> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProces
Re: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/messaging/MessageHandler
Also, I've filed https://issues.apache.org/jira/browse/HADOOP-7394 to track this issue. -- Aaron T. Myers Software Engineer, Cloudera On Tue, Jun 14, 2011 at 7:06 PM, Aaron T. Myers wrote: > Hey Thomas, > > I believe you're getting this error because you're setting forrest.home to > use Forrest 0.9. For some reason I'm not quite sure of (perhaps a Forrest > bug?) trying to build the docs with 0.9 gives me the same error. > > You can grab Forrest 0.8 from here: > http://archive.apache.org/dist/forrest/0.8/ > > -- > Aaron T. Myers > Software Engineer, Cloudera > > > > On Mon, Jun 13, 2011 at 10:26 PM, Thomas Anderson < > t.dt.aander...@gmail.com> wrote: > >> When compiling source against the latest trunk in common repository, >> it throws fop exception, I can't found where to add this lib e.g fop >> v1.0. Any config file needed to be altered so that the compilation >> would work? >> >> Thanks. >> >>[exec] Exception in thread "main" java.lang.NoClassDefFoundError: >> org/apache/fop/messaging/MessageHandler >> [exec] at >> >> org.apache.cocoon.serialization.FOPSerializer.configure(FOPSerializer.java:122) >> [exec] at >> >> org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201) >> [exec] at >> >> org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:289) >> [exec] at >> >> org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.newPoolable(InstrumentedResourceLimitingPool.java:655) >> [exec] at >> >> org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.get(InstrumentedResourceLimitingPool.java:371) >> [exec] at >> >> org.apache.avalon.excalibur.component.PoolableComponentHandler.doGet(PoolableComponentHandler.java:198) >> [exec] at >> >> org.apache.avalon.excalibur.component.ComponentHandler.get(ComponentHandler.java:381) >> [exec] at >> >> org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:215) >> [exec] at >> >> org.apache.cocoon.components.ExtendedComponentSelector.select(ExtendedComponentSelector.java:268) >> [exec] at >> >> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setSerializer(AbstractProcessingPipeline.java:311) >> [exec] at >> >> org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setSerializer(AbstractCachingProcessingPipeline.java:171) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:103) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:131) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) >> [exec] at >> >> org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) >> [exec] at >> >> org.apache.
Re: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/messaging/MessageHandler
Hey Thomas, I believe you're getting this error because you're setting forrest.home to use Forrest 0.9. For some reason I'm not quite sure of (perhaps a Forrest bug?) trying to build the docs with 0.9 gives me the same error. You can grab Forrest 0.8 from here: http://archive.apache.org/dist/forrest/0.8/ -- Aaron T. Myers Software Engineer, Cloudera On Mon, Jun 13, 2011 at 10:26 PM, Thomas Anderson wrote: > When compiling source against the latest trunk in common repository, > it throws fop exception, I can't found where to add this lib e.g fop > v1.0. Any config file needed to be altered so that the compilation > would work? > > Thanks. > >[exec] Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/fop/messaging/MessageHandler > [exec] at > > org.apache.cocoon.serialization.FOPSerializer.configure(FOPSerializer.java:122) > [exec] at > > org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201) > [exec] at > > org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:289) > [exec] at > > org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.newPoolable(InstrumentedResourceLimitingPool.java:655) > [exec] at > > org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.get(InstrumentedResourceLimitingPool.java:371) > [exec] at > > org.apache.avalon.excalibur.component.PoolableComponentHandler.doGet(PoolableComponentHandler.java:198) > [exec] at > > org.apache.avalon.excalibur.component.ComponentHandler.get(ComponentHandler.java:381) > [exec] at > > org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:215) > [exec] at > > org.apache.cocoon.components.ExtendedComponentSelector.select(ExtendedComponentSelector.java:268) > [exec] at > > org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setSerializer(AbstractProcessingPipeline.java:311) > [exec] at > > org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setSerializer(AbstractCachingProcessingPipeline.java:171) > [exec] at > > org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120) > [exec] at > > org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) > [exec] at > > org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:103) > [exec] at > > org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) > [exec] at > > org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:131) > [exec] at > > org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) > [exec] at > > org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) > [exec] at > > org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) > [exec] at > > org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) > [exec] at > > org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) > [exec] at > > org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) > [exec] at > > org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) > [exec] at > > org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) > [exec] at > > org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) > [exec] at > > org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:98) > [exec] at > > org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) > [exec] at > > org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) > [exec] at > > org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) > [exec] at > > org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) > [exec]
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/messaging/MessageHandler
When compiling source against the latest trunk in common repository, it throws fop exception, I can't found where to add this lib e.g fop v1.0. Any config file needed to be altered so that the compilation would work? Thanks. [exec] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/messaging/MessageHandler [exec] at org.apache.cocoon.serialization.FOPSerializer.configure(FOPSerializer.java:122) [exec] at org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201) [exec] at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:289) [exec] at org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.newPoolable(InstrumentedResourceLimitingPool.java:655) [exec] at org.apache.avalon.excalibur.pool.InstrumentedResourceLimitingPool.get(InstrumentedResourceLimitingPool.java:371) [exec] at org.apache.avalon.excalibur.component.PoolableComponentHandler.doGet(PoolableComponentHandler.java:198) [exec] at org.apache.avalon.excalibur.component.ComponentHandler.get(ComponentHandler.java:381) [exec] at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:215) [exec] at org.apache.cocoon.components.ExtendedComponentSelector.select(ExtendedComponentSelector.java:268) [exec] at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setSerializer(AbstractProcessingPipeline.java:311) [exec] at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setSerializer(AbstractCachingProcessingPipeline.java:171) [exec] at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120) [exec] at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) [exec] at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:103) [exec] at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) [exec] at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:131) [exec] at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) [exec] at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) [exec] at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) [exec] at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) [exec] at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) [exec] at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) [exec] at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) [exec] at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) [exec] at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) [exec] at org.apache.cocoon.components.treeprocessor.sitemap.SelectNode.invoke(SelectNode.java:98) [exec] at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) [exec] at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) [exec] at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) [exec] at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) [exec] at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) [exec] at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) [exec] at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) [exec] at org.apache.cocoon.Cocoon.process(Cocoon.java:699) [exec] at org.apache.cocoon.bean.CocoonWrapper.getPage(CocoonWrapper.java:514) [exec] at org.apache.cocoon.bean.CocoonBean.processTarget(CocoonBean.java:499) [exec] at org.apache.cocoon.bean.CocoonBean.process(CocoonBean.java:356) [exec] at org.apache.cocoon.Main.main(Main.java:321) [exec] Caused by: java.lang.ClassNotFoundException: org.apache.fop.messaging.MessageHandler [exec] at java.net.URLClassLoader$1.run(URLClassLoader.java: