java.lang.NoClassDefFoundError: javax/ws/rs/Produces

co.jp | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.NoClassDefFoundError with tomcat and axis2

    codegur.com | 8 months ago
    java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/resolver/URIResolver
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.lang.NoClassDefFoundError with tomcat and axis2 - www.codegur.bid

    codegur.club | 8 months ago
    java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/resolver/URIResolver
  4. 0

    How to communicate Android app to mysql DB via a web service?

    Stack Overflow | 1 year ago | sandy
    java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/resolver/URIResolver
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.ClassNotFoundException

    javax.ws.rs.Produces

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass()
  2. Glassfish Core
    WebappClassLoaderBase.loadClass
    1. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305)
    2. org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1139)
    2 frames
  3. org.apache.axis2
    ConfigurationContextFactory.createConfigurationContext
    1. org.apache.axis2.jaxrs.JAXRSUtils.getClassModel(JAXRSUtils.java:53)
    2. org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:298)
    3. org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:469)
    4. org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:396)
    5. org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109)
    6. org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:232)
    7. org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:154)
    8. org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:149)
    9. org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:585)
    10. org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:164)
    11. org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
    12. org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
    13. org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:136)
    14. org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:289)
    15. org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
    15 frames
  4. Apache Axis2 - Transport - HTTP
    AxisServlet.init
    1. org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:620)
    2. org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:471)
    2 frames
  5. org.apache.axis2
    AxisAdminServlet.init
    1. org.apache.axis2.webapp.AxisAdminServlet.init(AxisAdminServlet.java:60)
    1 frame
  6. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1238)
    2. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1151)
    3. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1038)
    4. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4996)
    5. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
    6. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    7. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
    8. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
    8 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:744)
    4 frames