Aah, mistake, I should have removed src/test/resources/META-INF. Fixed. Thanks
Sudhir NimavatSenior software engineer. Quick start global PVT LTD. Baroda - 390007 Gujarat, India Warning: Spelling errors in this message are the product of a poor school system. Pay teachers more than athletes.. ________________________________ From: Sudhir N <sudhir_nima...@yahoo.com> To: Appfuse <users@appfuse.dev.java.net> Sent: Fri, 23 April, 2010 5:01:28 PM Subject: [appfuse-user] APF-712 - No name provided and several persistence units found - Still exists? I am still getting the same error with full-source Here's the details - Appfuse release - 2.1.0-M2-SNAPSHOT - SpringMVC/JPA web project (not multi module) - JDK 1.5 *Error* [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] No name provided and several persistence units found [INFO] ------------------------------------------------------------------------ [INFO] Trace javax.persistence.PersistenceException: No name provided and several persistence units found at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:243) - Tried removing src/main/resources/META-INF, that gives another error "no persistence unit found" ;) [ Show ยป ] Sudhir Nimavat added a comment - 23/Apr/10 06:29 AM I am still getting the same error with full-source Here's the details - Appfuse release - 2.1.0-M2-SNAPSHOT - SpringMVC/JPA web project (not multi module) - JDK 1.5 *Error* {code} [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] No name provided and several persistence units found [INFO] ------------------------------------------------------------------------ [INFO] Trace javax.persistence.PersistenceException: No name provided and several persistence units found at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:243) {code} - Tried removing src/main/resources/META-INF, that gives another error "no persistence unit found" ;) Any idea? Sudhir NimavatSenior software engineer. Quick start global PVT LTD. Baroda - 390007 Gujarat, India Warning: Spelling errors in this message are the product of a poor school system. Pay teachers more than athletes..