I'm trying to get the 7-1 example working out of the box. when I run run.client1 I get the following error.
run.client1:
[java] Exception in thread "main" javax.persistence.PersistenceException: java.lang.NullPointerException
[java] at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:173)
[java] at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:103)
[java] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37)
[java] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:27)
[java] at com.titan.clients.Client1.main(Client1.java:14)
[java] Caused by: java.lang.NullPointerException
[java] at org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy(PersistenceXmlLoader.java:68)
[java] at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:139)
[java] 12:36:02,778 FATAL [PersistenceXmlLoader] titan RESOURCE_LOCAL
[java] ... 4 more
[java] Java Result: 1
JAVA_HOME =C:\jdk1.5.0_06 JBOSS_HOME=C:\jboss-4.0.4RC1
Any ideas what would cause this?
Thanks,
Chris