2017-06-01 1 views
0

lors de la publication (Endpoint.publish) service web de savon en java obtenir l'erreur suivante:java.lang.NoSuchMethodException: com.sun.xml.bind.v2.model.nav.ReflectionNavigator.getInstance()

java.lang.NoSuchMethodException: com.sun.xml.bind.v2.model.nav.ReflectionNavigator.getInstance() at java.lang.Class.getDeclaredMethod(Class.java:2004) at com.sun.xml.ws.model.Utils.(Utils.java:73) at com.sun.xml.ws.model.WrapperBeanGenerator.(WrapperBeanGenerator.java:77) at com.sun.xml.ws.model.RuntimeModeler.getRequestWrapperClass(RuntimeModeler.java:375) at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:800) at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:730) at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:490) at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:320) at com.sun.xml.ws.db.DatabindingImpl.(DatabindingImpl.java:99) at com.sun.xml.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:74) at com.sun.xml.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:58) at com.sun.xml.ws.db.DatabindingFactoryImpl.createRuntime(DatabindingFactoryImpl.java:120) at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:521) at com.sun.xml.ws.server.EndpointFactory.create(EndpointFactory.java:300) at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:164) at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:577) at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:560) at com.sun.xml.ws.transport.http.server.EndpointImpl.createEndpoint(EndpointImpl.java:323) at com.sun.xml.ws.transport.http.server.EndpointImpl.publish(EndpointImpl.java:246) at com.sun.xml.ws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:136) at javax.xml.ws.Endpoint.publish(Endpoint.java:240) at com.publisher.AMLpublisher.main(AMLpublisher.java:15)

Répondre

0

Il serait utile si vous pouviez également nous montrer une partie de votre code. Plus important encore, la ligne sur laquelle l'exception est levée et une partie de la logique