java.lang.IllegalArgumentException: class org.glassfish.webservices.JAXWSServlet has neither @WebService nor @WebServiceProvider annotation

Oracle Community | zgrega | 6 years ago
  1. 0

    jax-ws web service problem on glassfish

    Oracle Community | 6 years ago | zgrega
    java.lang.IllegalArgumentException: class org.glassfish.webservices.JAXWSServlet has neither @WebService nor @WebServiceProvider annotation
  2. 0

    class [...] has neither @WebService nor @WebServiceProvider annotation

    Coderanch | 4 years ago | Brian Mulholland
    javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception created by servlet
  3. 0

    db:: 4.38::Trying to deploy a Metro JAX-WS Endpoint with UsernameToken wsit in Weblogic 12c 7j

    hivmr.com | 5 months ago
    java.lang.IllegalArgumentException: class com.ws.server.TestWebService has neither @WebSerivce nor @WebServiceProvider annotationoracle.oc4j.admin.internal.DeployerException: WSSERVLET11: failed to parse runtime descriptor: java.lang.IllegalArgumentException: class com.ws.server.TestWebService has neither @WebSerivce nor @WebServiceProvider annotation
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    db:: 4.13::JAXB Error when deploying a JAX-WS WS based on top down d1

    hivmr.com | 5 months ago
    java.lang.IllegalArgumentException: class com.ws.server.TestWebService has neither @WebSerivce nor @WebServiceProvider annotationoracle.oc4j.admin.internal.DeployerException: WSSERVLET11: failed to parse runtime descriptor: java.lang.IllegalArgumentException: class com.ws.server.TestWebService has neither @WebSerivce nor @WebServiceProvider annotation
  6. 0

    Deploy a JAX-WS web service to OC4J?

    Oracle Community | 1 decade ago | 437371
    java.lang.IllegalArgumentException: class com.ws.server.TestWebService has neither @WebSerivce nor @WebServiceProvider annotationoracle.oc4j.admin.internal.DeployerException: WSSERVLET11: failed to parse runtime descriptor: java.lang.IllegalArgumentException: class com.ws.server.TestWebService has neither @WebSerivce nor @WebServiceProvider annotation

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      class org.glassfish.webservices.JAXWSServlet has neither @WebService nor @WebServiceProvider annotation

      at com.sun.xml.ws.server.EndpointFactory.verifyImplementorClass()
    2. JAX-WS RI Runtime Bundle
      WSEndpoint.create
      1. com.sun.xml.ws.server.EndpointFactory.verifyImplementorClass(EndpointFactory.java:303)
      2. com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:120)
      3. com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:505)
      4. com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:560)
      4 frames
    3. JSR-109 implementation to deploy Metro
      JAXWSServlet.init
      1. org.glassfish.webservices.JAXWSServlet.registerEndpoint(JAXWSServlet.java:405)
      2. org.glassfish.webservices.JAXWSServlet.doInit(JAXWSServlet.java:264)
      3. org.glassfish.webservices.JAXWSServlet.init(JAXWSServlet.java:99)
      3 frames
    4. Glassfish Core
      StandardPipeline.invoke
      1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1428)
      2. org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1060)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
      5. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
      5 frames
    5. Glassfish
      PESessionLockingStandardPipeline.invoke
      1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
      2. com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
      2 frames
    6. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
      2. org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
      3 frames
    7. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
      1 frame
    8. Grizzly WS
      ProcessorTask.invokeAdapter
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
      1 frame