ClassNotFoundException on EclipseLink MOXy [message #768587] |
Tue, 20 December 2011 07:16  |
Eclipse User |
|
|
|
Hello all !!
I have a project running fine on Weblogic 11g. Now I am running on Weblogic 12c which includes native built-in support for EclipseLink MOXY as the default JAXB Provider.
However, I get this strange error when accessing a WebService:
javax.xml.bind.JAXBException:
Exception Description: Class: [br.com.gvt.portal.integra.wsclient.business.catalog.DiffProdutoDoCliente.Atributo.AtributoDiffProduto.Type] was not found while converting from class names to classes.
Internal Exception: java.lang.ClassNotFoundException: br/com/gvt/portal/integra/wsclient/business/catalog/DiffProdutoDoCliente/Atributo/AtributoDiffProduto/Type
- with linked exception:
[Exception [EclipseLink-7198] (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Class: [br.com.gvt.portal.integra.wsclient.business.catalog.DiffProdutoDoCliente.Atributo.AtributoDiffProduto.Type] was not found while converting from class names to classes.
Internal Exception: java.lang.ClassNotFoundException: br/com/gvt/portal/integra/wsclient/business/catalog/DiffProdutoDoCliente/Atributo/AtributoDiffProduto/Type]
at org.eclipse.persistence.jaxb.JAXBContext$TypeMappingInfoInput.createContextState(JAXBContext.java:832)
at org.eclipse.persistence.jaxb.JAXBContext.<init>(JAXBContext.java:143)
at org.eclipse.persistence.jaxb.JAXBContextFactory.createContext(JAXBContextFactory.java:142)
at com.sun.xml.ws.db.toplink.JAXBContextFactory.newContext(JAXBContextFactory.java:180)
at com.sun.xml.ws.spi.db.BindingContextFactory.create(BindingContextFactory.java:179)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:211)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:185)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:184)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:109)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:321)
at com.sun.xml.ws.db.DatabindingImpl.<init>(DatabindingImpl.java:99)
at com.sun.xml.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:74)
at com.sun.xml.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:58)
at com.sun.xml.ws.db.DatabindingFactoryImpl.createRuntime(DatabindingFactoryImpl.java:130)
at com.sun.xml.ws.client.WSServiceDelegate.buildRuntimeModel(WSServiceDelegate.java:722)
at com.sun.xml.ws.client.WSServiceDelegate.createSEIPortInfo(WSServiceDelegate.java:729)
at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:705)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:360)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegateImpl.internalGetPort(WLSProvider.java:1020)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegateImpl$PortClientInstanceFactory.createClientInstance(WLSProvider.java:1081)
at weblogic.wsee.jaxws.spi.ClientInstancePool.takeSimpleClientInstance(ClientInstancePool.java:376)
at weblogic.wsee.jaxws.spi.ClientInstancePool.take(ClientInstancePool.java:232)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegateImpl.getPort(WLSProvider.java:938)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:343)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegateImpl.getPort(WLSProvider.java:878)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:325)
at javax.xml.ws.Service.getPort(Service.java:134)
at br.com.gvt.portal.integra.wsclient.business.catalog.CatalogoWS.getCatalogoWSSoap(CatalogoWS.java:56)
This class is present there. The only thing is that it´s an inner class. I don´t know how to solve it. Can anybody help me ??
Regards,
George
|
|
|
|
Powered by
FUDForum. Page generated in 0.03012 seconds