[ https://issues.apache.org/jira/browse/CXF-4175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228537#comment-13228537 ]
Daniel Kulp commented on CXF-4175: ---------------------------------- Jetty renamed some classes (HttpConnection->AbstractHttpConnection) and moved some classes around (org.eclipse.jetty.http.ssl.SslContext -> org.eclipse.jetty.utl.ssl.SslContext) both of which affect CXF. It's going to require quite a bit of reflection code to be able to support both 7.5.x and 7.6.x. :-( > CXF2.5.3 not compatible with jetty7.6.x > ---------------------------------------- > > Key: CXF-4175 > URL: https://issues.apache.org/jira/browse/CXF-4175 > Project: CXF > Issue Type: Improvement > Components: Core > Affects Versions: 2.5.2 > Reporter: jerryscott2012 > Labels: patch > Fix For: 2.5.3 > > Original Estimate: 504h > Remaining Estimate: 504h > > When I update the jetty jar from 7.5.4 to 7.6.2(the latest stable) and > publish the web service interface under ssl enviroment,my application throw > the exception : > Exception in thread "main" java.lang.NoSuchMethodError: > org.apache.cxf.transport.https_jetty.CXFJettySslSocketConnector.getSslContextFactory()Lorg/eclipse/jetty/http/ssl/SslContextFactory; > at > org.apache.cxf.transport.https_jetty.CXFJettySslSocketConnector.setClientAuthentication(CXFJettySslSocketConnector.java:90) > at > org.apache.cxf.transport.https_jetty.JettySslConnectorFactory.decorateCXFJettySslSocketConnector(JettySslConnectorFactory.java:84) > at > org.apache.cxf.transport.https_jetty.JettySslConnectorFactory.createConnector(JettySslConnectorFactory.java:70) > at > org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:291) > at > org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:168) > at > org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:48) > at > org.apache.cxf.binding.AbstractBaseBindingFactory.addListener(AbstractBaseBindingFactory.java:97) > at > org.apache.cxf.binding.soap.SoapBindingFactory.addListener(SoapBindingFactory.java:837) > at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:131) > at > org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:204) > at > org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:207) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira