Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » ClassNotFoundException on EclipseLink MOXy(JAXB Inner classes not working )
ClassNotFoundException on EclipseLink MOXy [message #768587] Tue, 20 December 2011 12:16 Go to next message
George Gastaldi is currently offline George GastaldiFriend
Messages: 1
Registered: December 2011
Junior Member
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
Re: ClassNotFoundException on EclipseLink MOXy [message #1838307 is a reply to message #768587] Mon, 22 February 2021 05:27 Go to previous message
Sambhav Kapoor is currently offline Sambhav KapoorFriend
Messages: 1
Registered: February 2021
Junior Member
I am facing the same issue now. Were you able to resolve the issue?
Previous Topic:Moxy and enums
Next Topic:Metamodel generation issue for @NotNull and @Lob byte[]
Goto Forum:
  


Current Time: Tue Apr 23 16:44:26 GMT 2024

Powered by FUDForum. Page generated in 0.02543 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top