"max.andersen(a)jboss.com" wrote : there has to be a META-INF/persistence.xml on
the classpath.
|
| adding resources\meta-inf doesn't make that happen.
|
| should just be resources and in resources should be a persistence.xml
I moved persistence.xml from resources\meta-inf to resources and refreshed my project.
switched to hibernate perspective and edit the classpath in edit config window popup tab.
using resources now instead of resources\meta-inf. clicked ok, refreshed the config and
got the same error again.
error: Persistence unit not found 'null'.
There is only one PU in BETS\resources\persistence.xml.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4216761#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...