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. 

  1. 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

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -