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