java.lang.IllegalArgumentException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5604

  • via Oracle Community by zgrega, 11 months ago
    class org.glassfish.webservices.JAXWSServlet has neither @WebService nor @WebServiceProvider annotation
  • class com.sun.proxy.$Proxy22 has neither @WebService nor @WebServiceProvider annotation
  • via Coderanch by Brian Mulholland, 7 months ago
    class [my package]$$EnhancerByCGLIB$$5c3da95a has neither @WebService nor @WebServiceProvider annotation
  • Stack trace

    • java.lang.IllegalArgumentException: class org.glassfish.webservices.JAXWSServlet has neither @WebService nor @WebServiceProvider annotation at com.sun.xml.ws.server.EndpointFactory.verifyImplementorClass(EndpointFactory.java:303) at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:120) at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:505) at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:560) at org.glassfish.webservices.JAXWSServlet.registerEndpoint(JAXWSServlet.java:405) at org.glassfish.webservices.JAXWSServlet.doInit(JAXWSServlet.java:264) at org.glassfish.webservices.JAXWSServlet.init(JAXWSServlet.java:99) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1428) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1060) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165) at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.