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

    @PersistenceUnit in error: EMPTY STRING unitName

    Alex Narinsky Newbie

      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