LinkageError whilst trying to invoke CXF/SOAP webservice

后端 未结 2 1076
南笙
南笙 2021-01-07 03:42

I have a project (say myproject) in which I have hosted a CXF RESTful service and CXF WS/SOAP service, and running on JBoss (6.0.0.FINAL). The RESTful interface is used by a

2条回答
  •  别那么骄傲
    2021-01-07 04:41

    I finally solved the problem but it is really weird.

    1. I added cxf-rt-frontend-jaxws and cxf-bundle-rs as dependencies and mark some exclusions -> jetty-server, gernomino-servlet.
    2. I had the beans.xml under WEB-INF folder but had to place it under src/main/resources. The beans.xml is expected to be under the classpath, instead of WEB-INF.

    Thanks for your responses.

提交回复
热议问题