unable to start FOP in Jenkins -
getting following error while building job in jenkins:
details
mode lastwritetime length name ---- ------------- ------ -------- 6/28/2016 3:40 pm temp
jenkins error log building application: "invocationtargetexception"
processing main file... unable start fop: java.lang.reflect.invocationtargetexception @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) @ java.lang.reflect.method.invoke(unknown source) @ org.apache.fop.cli.main.startfopwithdynamicclasspath(main.java:133) @ org.apache.fop.cli.main.main(main.java:207) caused by: java.lang.noclassdeffounderror: org/apache/xmlgraphics/image/loader/imagecontext @ java.lang.classloader.defineclass1(native method) @ java.lang.classloader.defineclass(unknown source) @ java.security.secureclassloader.defineclass(unknown source) @ java.net.urlclassloader.defineclass(unknown source) @ java.net.urlclassloader.access$100(unknown source) @ java.net.urlclassloader$1.run(unknown source) @ java.net.urlclassloader$1.run(unknown source) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(unknown source) @ java.lang.classloader.loadclass(unknown source) @ java.lang.classloader.loadclass(unknown source) @ org.apache.fop.cli.commandlineoptions.<init>(commandlineoptions.java:121) @ org.apache.fop.cli.main.startfop(main.java:157) ... 6 more caused by: java.lang.classnotfoundexception: org.apache.xmlgraphics.image.loader.imagecontext @ java.net.urlclassloader.findclass(unknown source) @ java.lang.classloader.loadclass(unknown source) @ java.lang.classloader.loadclass(unknown source) ... 19 more fatal error: docbook transformation failed.
please include xmlgraphics-commons-1.3.jar in maven dependency.
<dependency> <groupid>org.apache.xmlgraphics</groupid> <artifactid>xmlgraphics-commons</artifactid> <version>1.3.1</version> </dependency>
Comments
Post a Comment