xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Schramm <florian.schr...@aon.at>
Subject Build breaks with java.lang.NoClassDefFoundError
Date Sun, 01 Nov 2015 20:00:33 GMT

Hi,

I followed the build instructions for fop2.0 but I get a
java.lang.NoClassDefFoundError while building.

BUILD FAILED
/mnt/1663b515-e884-4d04-a0e6-7cd1aa2bdc55/Dev/src/ApacheFOP/fop-2_0/build.xml:365:
java.lang.ExceptionInInitializerError
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:264)
     at
org.apache.fop.tools.EventProducerCollector.createMethodModel(EventProducerCollector.java:180)
     at
org.apache.fop.tools.EventProducerCollector.processEventProducerInterface(EventProducerCollector.java:129)
     at
org.apache.fop.tools.EventProducerCollector.scanFile(EventProducerCollector.java:99)
     at
org.apache.fop.tools.EventProducerCollectorTask.processFileSets(EventProducerCollectorTask.java:214)
     at
org.apache.fop.tools.EventProducerCollectorTask.execute(EventProducerCollectorTask.java:69)
     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
     at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:497)
     at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     at org.apache.tools.ant.Task.perform(Task.java:348)
     at org.apache.tools.ant.Target.execute(Target.java:435)
     at org.apache.tools.ant.Target.performTasks(Target.java:456)
     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
     at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
     at org.apache.tools.ant.Main.runBuild(Main.java:851)
     at org.apache.tools.ant.Main.startAnt(Main.java:235)
     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: org.apache.commons.logging.LogConfigurationException:
java.lang.NoClassDefFoundError: org/apache/logging/log4j/message/Message
(Caused by java.lang.NoClassDefFoundError:
org/apache/logging/log4j/message/Message)
     at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
     at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
     at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
     at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
     at org.apache.fop.fo.FONode.<clinit>(FONode.java:77)
     ... 23 more
Caused by: java.lang.NoClassDefFoundError:
org/apache/logging/log4j/message/Message
     at
org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
     at
org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
     at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
     at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
     at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
     ... 27 more
Caused by: java.lang.ClassNotFoundException:
org.apache.logging.log4j.message.Message
     at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
     ... 34 more

What can I do to build fop2.0 without errors?

Thanks,
Florian




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message