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 Google Groups by Rinshin Pr, 1 year ago
Unsupported JAXB Class encountered during initialization: Exception Description: Name collision. Two classes have the XML type with uri http://www.w3.org/2001/XMLSchema and name string.
javax.xml.bind.JAXBException: Exception Description: Name collision.  Two classes have the XML type with 
uri http://www.w3.org/2001/XMLSchema and name string.
 - with linked exception:
[Exception [EclipseLink-50007] (Eclipse Persistence Services - 
2.6.1.v20150916-55dc7c3): org.eclipse.persistence.exceptions.JAXBException
Exception Description: Name collision.  Two classes have the XML type with 
uri http://www.w3.org/2001/XMLSchema and name string.]	at org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createContextState(JAXBContext.java:1127)	at org.eclipse.persistence.jaxb.JAXBContext.(JAXBContext.java:192)	at org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:165)	at org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:152)	at org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:112)	at org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:102)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:247)	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:234)	at javax.xml.bind.ContextFinder.find(ContextFinder.java:441)	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:641)	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:584)	at org.kie.remote.client.jaxb.ClientJaxbSerializationProvider.initialize(ClientJaxbSerializationProvider.java:103)	at org.kie.remote.client.jaxb.ClientJaxbSerializationProvider.initialize(ClientJaxbSerializationProvider.java:98)	at org.kie.remote.client.jaxb.ClientJaxbSerializationProvider.newInstance(ClientJaxbSerializationProvider.java:93)	at org.kie.services.client.api.command.RemoteConfiguration.initializeJaxbSerializationProvider(RemoteConfiguration.java:90)	at org.kie.services.client.api.command.AbstractRemoteCommandObject.(AbstractRemoteCommandObject.java:79)	at org.kie.services.client.api.command.KieSessionClientCommandObject.(KieSessionClientCommandObject.java:51)	at org.kie.services.client.api.command.RemoteRuntimeEngine.getKieSession(RemoteRuntimeEngine.java:24)	at model.contracts.projects.entity.java.ProjectReviewApproval.projectApprovalFlowCall(ProjectReviewApproval.java:259)	at model.contracts.projects.entity.ProjectsEOImpl.doDML(ProjectsEOImpl.java:48)	at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:7455)	at oracle.jbo.server.EntityImpl.callPostChanges(EntityImpl.java:7236)	at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3379)	at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3173)	at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2174)	at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2453)	at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1751)	at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1477)	at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1521)	at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2294)	at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:785)	at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:414)	at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:254)	at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:212)	at view.projectManage.ProjectManagesBean.OnSaveOfProjectRefIter(ProjectManagesBean.java:123)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at com.sun.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:181)	at com.sun.el.parser.AstValue.invoke(AstValue.java:289)	at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)	at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)	at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:147)	at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)	at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:1126)	at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)	at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)	at oracle.adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)	at oracle.adf.view.rich.component.fragment.UIXRegion._handleProxyEvent(UIXRegion.java:933)	at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:117)	at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)	at oracle.adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)	at oracle.adf.view.rich.component.fragment.UIXRegion._handleProxyEvent(UIXRegion.java:933)	at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:117)	at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)	at oracle.adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)	at oracle.adf.view.rich.component.fragment.UIXRegion._handleProxyEvent(UIXRegion.java:933)	at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:117)	at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)	at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1207)	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executeInvokeApplication(LifecycleImpl.java:607)	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:348)	at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:224)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:650)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)	at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)	at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)	at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:194)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)	at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)	at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:529)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:354)	at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:232)	at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)	at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:166)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)	at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)	at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)	at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)	at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)	at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)	at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)	at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)	at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)	at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)	at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:141)	at java.security.AccessController.doPrivileged(Native Method)	at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)	at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:649)	at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:124)	at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:232)	at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:94)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)	at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:224)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)	at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:32)	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3654)	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3620)	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)	at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:196)	at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)	at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)	at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2423)	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2280)	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2258)	at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1626)	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1586)	at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:270)	at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)	at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)	at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)	at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)	at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:617)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:397)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:346)