[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations problem

asookazian do-not-reply at jboss.com
Tue Mar 10 17:16:48 EDT 2009


"max.andersen at 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#4216761

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4216761



More information about the jboss-user mailing list