0 Replies Latest reply on Apr 20, 2007 7:36 PM by anarinsky

    @PersistenceUnit in error: EMPTY STRING unitName

    anarinsky

      I am trying to use TestNG in my application. When I included resources into the application classpath I received the following exception:

      java.lang.RuntimeException: Field private javax.persistence.EntityManager com.scea.sp8.ProjectAddBean.em @PersistenceUnit in error: EMPTY STRING unitName but there is no deployments in scope

      Any ideas are appreciated.

      Thanks