Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # dev >> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/messaging/MessageHandler


Copy link to this message
-
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
<[EMAIL PROTECTED]>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)