I have the following problem (reported there by someone else) when starting my corporate application under Glassfish. Jetty is working fine.
javax / xml / ws / spi / Provider mentions the creation of the META-INF / services / javax.xml.ws.spi.Provider resource, but it is already supplied with CXF and creating an additional resource file does not solve this problem in Glassfish.
Does anyone know how to ensure that CXF is selected under GlassFish?
(I am using the Maven Multi-modules project with CXF 2.2.5 dependency)
Thank!
Tim
EDIT NO. 1
Skip the problem for now and just work with Metro, but I would really like to know how to use CXF if anyone has pointers. If nothing works, I may need to switch the web application container (or look at Metro to fill in my requirements)
EDIT No. 2
Some solutions provide details on how to fix the war by adding <class-loader delegate="false"/> to the sun-web.xml file. However, this does not work for non-military ee applications.
classpath jax-ws glassfish java-metro-framework cxf
Tim Jan 14 2018-10-14 12:42
source share