grails 2.3 java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/SVGOMDocument

牧云@^-^@ 提交于 2019-12-24 14:31:10

问题


When i run my grails application in tomcat i get the following error java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/SVGOMDocument. But the batik-svg-dom.1.7.jar is packaged in the war and in the classpath.

I don't however get this error when i am running the application in debug mode in STS. I am using Grails 2.3 and building my war using maven. I am using FOP and have excluded the "xml-apis".

I have tried to place the batik-svg-dom.jar in the lib folder of tomcat, that did not work.

Thanks in advance.

来源:https://stackoverflow.com/questions/19171682/grails-2-3-java-lang-noclassdeffounderror-org-apache-batik-dom-svg-svgomdocumen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!