having issues deploying grails project with cxf plugin onto WAS 8

佐手、 提交于 2019-12-06 13:42:42

Try to add the following to your BuildConfig.groovy to exclude the JAXB implementation and Apache serializer related libraries.

grails.project.dependency.resolution = {
    // inherit Grails' default dependencies
    inherits("global") {
            excludes ("serializer", "jaxb-impl")
    }
...
}

Then rebuild your war to see if it works.

If everything is working fine on Tomcat, it sounds like a librairy conflict with IBM Websphere.

Be sure to configure the classloader to Parent last so that your application will override WAS librairy.

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