2013-05-03 2 views
0

Glasfish 응용 프로그램 서버에서 JavaEE 응용 프로그램을 개발하고 있습니다. 개발 중이므로 계속 응용 프로그램을 배포/배포 해제하고 있습니다.Glassfish 배포 예외

GRAVE: Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method 
GRAVE: Exception while invoking class org.glassfish.javaee.full.deployment.EarDeployer prepare method 
GRAVE: Exception while preparing the app 
GRAVE: Could not resolve a persistence unit corresponding to the persistence-unit-ref-name [persistence/decreg-entite] in scope of the module called [declaration-reglementaire-ear#declaration-reglementaire-serviceweb-0.0.3-RELEASE.war]. Please verify your application. 
org.glassfish.deployment.common.DeploymentException: Could not resolve a persistence unit corresponding to the persistence-unit-ref-name [persistence/decreg-entite] in scope of the module called [declaration-reglementaire-ear#declaration-reglementaire-serviceweb-0.0.3-RELEASE.war]. Please verify your application. 

은 다른 사람이 생각하는 방법이 문제를 해결해야한다 : 나는 배포하는 동안이 오류를 받았을 때

모든 몇 시간 전까지 만해도 큰 일했다?

가 나타납니다 andvace

답변

0

에 감사 'decreg-entite'라는 이름의 퍼시스턴스 유닛은 domain.xml 파일에 언급되어 있지만 JPA 구성 파일의 persistence.xml는 퍼시스턴스 유닛에 대한 모든 정의하지 않습니다 .

관련 문제