JBoss Community

Re: UNRESOLVED Demands 'persistence.unit:unitName=...

created by jaikiran pai in EJB3 - View the full discussion
14:51:40,882 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=EsbMonitorEAR-0.0.1-SNAPSHOT.ear/#EsbMonitorPU state=Create: javax.persistence.PersistenceException: [PersistenceUnit: EsbMonitorPU] class or package not found

Please post that entire excpetion stacktrace.

 

Also .ear/META-INF isn't a right place for persistence.xml. Move it to the META-INF of the jar within the .ear instead.

Reply to this message by going to Community

Start a new discussion in EJB3 at Community