javax.xml.ws.WebServiceException: Unable to create JAXBContext

Coderanch | neri jimenez | 6 years 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

    Unable to create JAXBContext

    Coderanch | 6 years ago | neri jimenez
    javax.xml.ws.WebServiceException: Unable to create JAXBContext
  2. 0

    webservices and custom exception handling

    Oracle Community | 7 years ago | 717529
    javax.xml.ws.WebServiceException: Unable to create JAXBContext
  3. 0

    OBI Mobile App Designer raises Internal Server Error

    Oracle Community | 3 years ago | Tobias Klumpp - ec4u
    javax.xml.ws.WebServiceException: Unable to create JAXBContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    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. com.sun.xml.bind.v2.runtime.IllegalAnnotationsException

      1 counts of IllegalAnnotationExceptions java.lang.StackTraceElement does not have a no-arg default constructor. this problem is related to the following location: at java.lang.StackTraceElement at public java.lang.StackTraceElement[] java.lang.Throwable.getStackTrace() at java.lang.Throwable at java.lang.Exception at java.sql.SQLException at public java.sql.SQLException servicios.jaxws.SQLExceptionBean.nextException at servicios.jaxws.SQLExceptionBean at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:106)

      at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet()
    2. Old JAXB Runtime
      JAXBRIContext.newInstance
      1. com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:489)
      2. com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:319)
      3. com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1170)
      4. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:188)
      5. com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:111)
      5 frames
    3. JAX-WS RI Runtime Bundle
      WSEndpoint.create
      1. com.sun.xml.ws.developer.JAXBContextFactory$1.createJAXBContext(JAXBContextFactory.java:113)
      2. com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:166)
      3. com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:159)
      4. com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:158)
      5. com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:99)
      6. com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:250)
      7. com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:343)
      8. com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:205)
      9. com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:513)
      10. com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:568)
      10 frames
    4. JSR-109 implementation to deploy Metro
      WSServletContextListener.contextInitialized
      1. org.glassfish.webservices.WSServletContextListener.registerEndpoint(WSServletContextListener.java:260)
      2. org.glassfish.webservices.WSServletContextListener.contextInitialized(WSServletContextListener.java:99)
      2 frames
    5. Glassfish Core
      StandardContext.contextListenerStart
      1. org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4690)
      1 frame
    6. Glassfish
      WebModule.contextListenerStart
      1. com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:534)
      1 frame
    7. Glassfish Core
      StandardContext.start
      1. org.apache.catalina.core.StandardContext.start(StandardContext.java:5305)
      1 frame
    8. Glassfish
      WebModule.start
      1. com.sun.enterprise.web.WebModule.start(WebModule.java:500)
      1 frame
    9. Glassfish Core
      StandardHost.addChild
      1. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)
      2. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)
      3. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:755)
      3 frames
    10. Glassfish
      WebApplication.start
      1. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1980)
      2. com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1630)
      3. com.sun.enterprise.web.WebApplication.start(WebApplication.java:100)
      3 frames
    11. Private APIs of Glassfish
      ApplicationInfo.start
      1. org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)
      2. org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)
      3. org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:286)
      3 frames
    12. Kernel Classes
      ApplicationLifecycle.deploy
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
      2. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
      2 frames
    13. Embedded GlassFish Web
      DeployCommand.execute
      1. org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:370)
      1 frame
    14. Kernel Classes
      AdminAdapter.service
      1. com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)
      2. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)
      3. com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1067)
      4. com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)
      5. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1247)
      6. com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
      7. com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:465)
      8. com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:222)
      8 frames
    15. Grizzly WS
      GrizzlyAdapter.service
      1. com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)
      1 frame
    16. Kernel Classes
      ContainerMapper.service
      1. com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
      2. com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:234)
      2 frames
    17. Grizzly WS
      AbstractThreadPool$Worker.run
      1. com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:822)
      2. com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:719)
      3. com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
      4. com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
      5. com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
      6. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
      7. com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
      8. com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
      9. com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
      10. com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
      11. com.sun.grizzly.ContextTask.run(ContextTask.java:71)
      12. com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
      13. com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
      13 frames
    18. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame