引起:java.lang.IllegalArgumentException:Servlet [RegistrationRequesterPortImpl]和Servlet

时间:2018-05-09 22:51:58

标签: glassfish

引起:java.lang.IllegalArgumentException:Servlet [RegistrationRequesterPortImpl]和Servlet [RegistrationPortImpl]具有相同的url模式:[/ RegistrationService_V11]     在org.glassfish.web.deployment.descriptor.WebBundleDescriptorImpl.addWebComponentDescriptor(WebBundleDescriptorImpl.java:396)     at org.glassfish.webservices.connector.annotation.handlers.WebServiceHandler.processAnnotation(WebServiceHandler.java:473)     at com.sun.enterprise.deployment.annotation.factory.SJSASFactory $ LazyAnnotationHandler.processAnnotation(SJSASFactory.java:174)     在org.glassfish.apf.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:350)     ... 59更多

1 个答案:

答案 0 :(得分:0)

答案在错误的第一行:

  

引起:java.lang.IllegalArgumentException:Servlet [RegistrationRequesterPortImpl]和Servlet [RegistrationPortImpl]具有相同的url模式:[/ RegistrationService_V11]

RegistrationRequesterPortImpl.java RegistrationPortImpl.java 具有相同的网址格式(/RegistrationService_V11)。您需要更改其中一个的URL模式。