Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by cwaweru, 1 year ago
via Oracle Community by cwaweru, 1 year ago
via Coderanch by neri jimenez, 1 year ago
Unable to create JAXBContext
via java.net by Unknown author, 2 years ago
via Stack Overflow by agnul
, 2 years ago
via Coderanch by ankur trapasiya, 1 year ago
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
java.sql.Connection is an interface, and JAXB can't handle interfaces.
this problem is related to the following location:
at java.sql.Connection
at private java.sql.Connection com.afrisoftech.funsoft.hmis.webservices.jaxws.Connect2DBResponse._return
at com.afrisoftech.funsoft.hmis.webservices.jaxws.Connect2DBResponse
java.sql.Connection does not have a no-arg default constructor.
this problem is related to the following location:
    at java.sql.Connectionat private java.sql.Connection com.afrisoftech.funsoft.hmis.webservices.jaxws.Connect2DBResponse._returnat com.afrisoftech.funsoft.hmis.webservices.jaxws.Connect2DBResponseat com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:106)	at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:466)	at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:298)	at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:141)	at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1157)	at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:188)	at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:111)	at com.sun.xml.ws.developer.JAXBContextFactory$1.createJAXBContext(JAXBContextFactory.java:113)	at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:166)	at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:159)	at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:158)	at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:158)	at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4750)	at com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:550)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:5366)	at com.sun.enterprise.web.WebModule.start(WebModule.java:498)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:917)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:901)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:733)	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2000)	at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1651)	at com.sun.enterprise.web.WebApplication.start(WebApplication.java:109)	at org.glassfish.internal.data.EngineRef.start(EngineRef.java:130)	at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:269)	at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:294)	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:462)	at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)	at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:382)	at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:355)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:370)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1064)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:96)	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1244)	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1232)	at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:459)	at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:209)	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)	at java.lang.Thread.run(Thread.java:722)