Announcement Announcement Module
Collapse
No announcement yet.
Deploying Roo project on websphere 8 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Deploying Roo project on websphere 8

    Hi ,

    We are trying to deploy a ROO based project on websphere 8.0. We are getting some noClassDefFoundError for the entity classes. Below is the exception trace

    Caused by: java.lang.NoClassDefFoundError: WEB-INF/classes/com/mmm/arc/domain/TUserItemUsage (wrong name: com/mmm/arc/domain/TUserItemUsage)
    at java.lang.ClassLoader.defineClassImpl(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :260)
    at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:69)
    at com.ibm.ws.classloader.CompoundClassLoader._define Class(CompoundClassLoader.java:828)
    at com.ibm.ws.classloader.CompoundClassLoader.localFi ndClass(CompoundClassLoader.java:743)
    at com.ibm.ws.classloader.CompoundClassLoader.loadCla ss(CompoundClassLoader.java:566)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:6 12)
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:132)
    at org.hibernate.util.ReflectHelper.classForName(Refl ectHelper.java:192)
    at org.hibernate.ejb.packaging.NativeScanner.getClass esInJar(NativeScanner.java:136)
    at org.hibernate.ejb.Ejb3Configuration.addScannedEntr ies(Ejb3Configuration.java:478)
    at org.hibernate.ejb.Ejb3Configuration.scanForClasses (Ejb3Configuration.java:851)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3 Configuration.java:594)
    at org.hibernate.ejb.HibernatePersistence.createConta inerEntityManagerFactory(HibernatePersistence.java :73)
    at com.ibm.ws.jpa.management.JPAPUnitInfo.createEMFac tory(JPAPUnitInfo.java:1565)
    at com.ibm.ws.jpa.management.JPAPUnitInfo.createEntit yManagerFactory(JPAPUnitInfo.java:1387)
    at com.ibm.ws.jpa.management.JPAPxmlInfo.extractPersi stenceUnits(JPAPxmlInfo.java:246)
    at com.ibm.ws.jpa.management.JPAScopeInfo.processPers istenceUnit(JPAScopeInfo.java:119)
    at com.ibm.ws.jpa.management.JPAApplInfo.processModul ePUs(JPAApplInfo.java:167)
    at com.ibm.ws.jpa.management.AbstractJPAComponent.sta rtingModule(AbstractJPAComponent.java:430)
    at com.ibm.ws.jpa.management.JPAComponentImpl.startin gDeployedModule(JPAComponentImpl.java:724)
    at com.ibm.ws.jpa.management.JPAComponentImpl.adjust( JPAComponentImpl.java:544)
    at com.ibm.ws.runtime.component.ApplicationMgrImpl.ad just(ApplicationMgrImpl.java:1051)
    at com.ibm.ws.runtime.component.DeployedApplicationIm pl.fireDeployedObjectAdjust(DeployedApplicationImp l.java:1393)
    at com.ibm.ws.runtime.component.DeployedModuleImpl.st art(DeployedModuleImpl.java:626)
    at com.ibm.ws.runtime.component.DeployedApplicationIm pl.start(DeployedApplicationImpl.java:967)
    ... 9 more

    Roo version - 1.1.2 ( We did a reverse engineering to generate the entities).
    Could someone please advise on this issue and also let me know if someone has tried to deploy ROO project in Websphere 8.

    Thanks,
    Lakshmi

  • #2
    Perhaps try http://forum.springsource.org/showth...-on-WebSphere8 for some suggestions.

    Comment

    Working...
    X