java.lang.ClassCastException: com.ibm.xml.xlxp2.jaxb.JAXBContextImpl incompatible with javax.xml.bind.JAXBContext

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 ibm.com by Unknown author, 1 year ago
com.ibm.xml.xlxp2.jaxb.JAXBContextImpl incompatible with javax.xml.bind.JAXBContext
via Atlassian JIRA by Stefan Saasen [Atlassian], 1 year ago
com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast to javax.xml.bind.JAXBContext
via Atlassian JIRA by Stefan Saasen, 1 year ago
com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast to javax.xml.bind.JAXBContext
via atlassian.com by Unknown author, 2 years ago
com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast to javax.xml.bind.JAXBContext
via eclipse.org by Unknown author, 2 years ago
com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast to javax.xml.bind.JAXBContext
via rubenlaguna.com by Unknown author, 2 years ago
com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast to javax.xml.bind.JAXBContext
java.lang.ClassCastException: com.ibm.xml.xlxp2.jaxb.JAXBContextImpl incompatible with javax.xml.bind.JAXBContext
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:156)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:288)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:383)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:348)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:255)
at com.ibm.tscc.rtss.config.impl.JAXBPreferencesService.backupConfiguration(JAXBPreferencesService.java:1268)
at com.ibm.tscc.rtss.config.impl.JAXBPreferencesService.loadConfiguration(JAXBPreferencesService.java:213)
at com.ibm.tscc.rtss.config.impl.JAXBPreferencesService.(JAXBPreferencesService.java:130)
at com.ibm.tscc.rtss.config.PreferencesServiceFactory.getPreferencesService(PreferencesServiceFactory.java:69)
at com.ibm.tscc.rtss.prefs.spif.PreferencesRuntimeServiceImpl.(PreferencesRuntimeServiceImpl.java:75)
at com.ibm.tscc.rtss.prefs.spif.PreferencesSecurityServiceImpl.initialize(PreferencesSecurityServiceImpl.java:91)
at com.ibm.tscc.rtss.spif.SecurityServiceFactory.startupServices(SecurityServiceFactory.java:88)
at com.ibm.tscc.rtss.spif.SecurityServiceFactory.initialize(SecurityServiceFactory.java:166)
at com.ibm.tscc.pep.common.RTSSEmbedded.initialize(RTSSEmbedded.java:71)
at com.ibm.tscc.rtss.agent.startup.servlet.AgentStartupServlet.init(AgentStartupServlet.java:56)
at javax.servlet.GenericServlet.init(GenericServlet.java:161)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:320)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1356)
at com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:1025)
at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:993)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:905)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:5940)
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:421)
at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.createRunnableHandler(DynamicVirtualHost.java:241)
at com.ibm.ws.http.internal.VirtualHostImpl.discriminate(VirtualHostImpl.java:181)
at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:169)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:448)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:382)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:282)
at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:253)
at com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:174)
at com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:83)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:502)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:550)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:899)
at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:981)
at com.ibm.ws.threading.internal.Worker.executeWork(Worker.java:439)
at com.ibm.ws.threading.internal.Worker.run(Worker.java:421)
at java.lang.Thread.run(Thread.java:736)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.