Salve galera, estou começando a trabalhar com spring e já estou sofrendo…(por não conhecer muito bem o framework)… bom estou recebendo o erro abaixo no momento em que é executada essa linha:
ApplicationContext context = new FileSystemXmlApplicationContext("MY_PATH/applicationContext-test.xml");
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘entityManagerFactory’ defined in file [MY_PATH\applicationContext-test.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: No persistence unit with name ‘PU’ found
alguém sabe oq pode estar ocasionando isto ???
Grato,
Adriano