hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers" <...@cloudera.com>
Subject Re: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/messaging/MessageHandler
Date Wed, 15 Jun 2011 02:06:16 GMT
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.aanderson@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.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:202)
>     [exec]     at java.security.AccessController.doPrivileged(Native
> Method)
>     [exec]     at
> java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>     [exec]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>     [exec]     at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>     [exec]     at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>     [exec]     ... 38 more
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message