Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Why I get java.lang.ClassCircularityError ?
Why I get java.lang.ClassCircularityError ? [message #1746410] Fri, 28 October 2016 11:11 Go to next message
François Courtault is currently offline François CourtaultFriend
Messages: 7
Registered: March 2014
Junior Member
Hello,

Could anyone help me to understand why I get the following stack trace ?

Jul 21, 2016 8:42:06 PM weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport preProcess
WARNING: Error pre-processing class org.eclipse.persistence.internal.weaving.WeaverLogger with weblogic.deployment.BasePersistenceUnitInfoImpl$ClassPreProcessorImpl@473859ae'
java.lang.ClassCircularityError: org/eclipse/persistence/internal/weaving/WeaverLogger
at org.eclipse.persistence.internal.jpa.weaving.PersistenceWeaver.transform(PersistenceWeaver.java:98)
at weblogic.deployment.BasePersistenceUnitInfoImpl$ClassPreProcessorImpl.preProcess(BasePersistenceUnitInfoImpl.java:700)
at weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport.preProcess(ClassPreProcessor.java:102)
at weblogic.utils.classloaders.GenericClassLoader.doPreProcess(GenericClassLoader.java:356)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:337)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at org.eclipse.persistence.internal.jpa.weaving.PersistenceWeaver.transform(PersistenceWeaver.java:98)
at weblogic.deployment.BasePersistenceUnitInfoImpl$ClassPreProcessorImpl.preProcess(BasePersistenceUnitInfoImpl.java:700)
at weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport.preProcess(ClassPreProcessor.java:102)
at weblogic.utils.classloaders.GenericClassLoader.doPreProcess(GenericClassLoader.java:356)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:337)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactoryImpl(PersistenceProvider.java:379)
at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:313)
at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:393)
at weblogic.deployment.BasePersistenceUnitInfoImpl.initializeEntityManagerFactory(BasePersistenceUnitInfoImpl.java:386)
at weblogic.deployment.BasePersistenceUnitInfoImpl.<init>(BasePersistenceUnitInfoImpl.java:158)
at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:46)
at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:349)
at weblogic.deployment.EarPersistenceUnitRegistry.initialize(EarPersistenceUnitRegistry.java:72)
at weblogic.application.internal.flow.InitJpaFlow.prepare(InitJpaFlow.java:38)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:648)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:59)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:144)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)


Best Regards.
Re: Why I get java.lang.ClassCircularityError ? [message #1751406 is a reply to message #1746410] Mon, 09 January 2017 21:53 Go to previous message
Deepak Pant is currently offline Deepak PantFriend
Messages: 1
Registered: July 2009
Junior Member
Were you able to resolve this issue? Thanks for looking into this.

I am also facing this issue. My environment is as follows:
OS: Windows 10
WLS: Weblogic 10.3.6
JDK: java version "1.7.0_101"
EclipseLink: 2.6.4. Works fine in EclipseLink 2.5.2 but I get following error in 2.6.1/2.6.2 and now 2.6.4. Application seems to be working fine but at server startup I get following message as a warning.

<Jan 9, 2017 4:45:41 PM EST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
Jan 09, 2017 4:45:51 PM weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport preProcess
WARNING: Error pre-processing class org.eclipse.persistence.internal.weaving.WeaverLogger with weblogic.deployment.BasePersistenceUnitInfoImpl$ClassPreProcessorImpl@1da3e0'
java.lang.ClassCircularityError: org/eclipse/persistence/internal/weaving/WeaverLogger
at org.eclipse.persistence.internal.jpa.weaving.PersistenceWeaver.transform(PersistenceWeaver.java:98)
at weblogic.deployment.BasePersistenceUnitInfoImpl$ClassPreProcessorImpl.preProcess(BasePersistenceUnitInfoImpl.java:700)
at weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport.preProcess(ClassPreProcessor.java:102)
at weblogic.utils.classloaders.GenericClassLoader.doPreProcess(GenericClassLoader.java:356)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:337)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at org.eclipse.persistence.internal.jpa.weaving.PersistenceWeaver.transform(PersistenceWeaver.java:98)
at weblogic.deployment.BasePersistenceUnitInfoImpl$ClassPreProcessorImpl.preProcess(BasePersistenceUnitInfoImpl.java:700)
at weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport.preProcess(ClassPreProcessor.java:102)
at weblogic.utils.classloaders.GenericClassLoader.doPreProcess(GenericClassLoader.java:356)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:337)
Previous Topic:How to create DB2 tables from entitys
Next Topic:JPA with sybase kerberos
Goto Forum:
  


Current Time: Thu Dec 14 04:25:36 GMT 2017

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

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