4 Replies Latest reply: Nov 23, 2011 1:14 PM by GeorgeMaggessy RSS

    Cannot start portal appliaction due to NoClassDefFoundError

    MartinK
      Hello,

      I tried the first time to start an portal application. I created the connection to the portlet on another application. Then I created the page in the portal application and put the connection to.

      After I tried to start the page I got:

      <22.11.2011 18:39 Uhr MEZ> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1321983580751' for task '0'. Error is: 'weblogic.management.DeploymentException: '
      weblogic.management.DeploymentException:
           at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:79)
           at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:186)
           at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
           at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
           Truncated. see log file for complete stacktrace
      Caused By: java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.persistence.internal.helper.ClassConstants
           at org.eclipse.persistence.internal.identitymaps.AbstractIdentityMap.getDefaultIdentityMapClass(AbstractIdentityMap.java:301)
           at org.eclipse.persistence.sessions.Project.<init>(Project.java:88)
           at org.eclipse.persistence.sessions.Project.<init>(Project.java:155)
           at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:868)
           at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:205)
           Truncated. see log file for complete stacktrace
      >
      <22.11.2011 18:39 Uhr MEZ> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'MyPortalApplication [Version=V2.0]'.>
      <22.11.2011 18:39 Uhr MEZ> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
      weblogic.management.DeploymentException:
           at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:79)
           at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:186)
           at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
           at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
           Truncated. see log file for complete stacktrace
      Caused By: java.lang.org.eclipse.persistence.internal.helper.ClassConstants: Could not initialize class org.eclipse.persistence.internal.helper.ClassConstants
           at org.eclipse.persistence.internal.identitymaps.AbstractIdentityMap.getDefaultIdentityMapClass(AbstractIdentityMap.java:301)
           at org.eclipse.persistence.sessions.Project.<init>(Project.java:88)
           at org.eclipse.persistence.sessions.Project.<init>(Project.java:155)
           at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:868)
           at org.eclipse.persistence.jpa.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:205)
           Truncated. see log file for complete stacktrace

      Can anybody give me a hint. Any help will be greatly apreciated. Thanks in advance.

      Regards
      Martin