I have a web service client generated and created using Apache CXF. Then I have a JAX-RS Jersey application in which I want to call methods from this web service. When I try to deploy this simple project to a Glassfish 4.0 server, I get this exception:
Exception while deploying the app [pelijee] : The lifecycle method [finalizeConfig] must not throw a checked exception. Related annotation information: annotation [@javax.annotation.PostConstruct()] on annotated element [public void org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.finalizeConfig() throws java.security.GeneralSecurityException,java.io.IOException] of type [METHOD]. Please see server.log for more details.
Unable to deploy commands.
The only CXF dependency that I have in this project is:
<dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-bundle-jaxrs</artifactId> <version>2.7.6</version> <type>jar</type> <scope>runtime</scope> </dependency>
Is there any other CXF library compatible with JSR 250? thank you
source share