0 Replies Latest reply on Aug 2, 2007 10:19 AM by barthjj

    Problem deploying jpa example to Weblogic 9.2

    barthjj

      I'm following the readme in the jpa example for Seam 2 Beta. After deploying the war, I attempt to start the application. I get these exceptions in the log file:

      javax.persistence.PersistenceException: [PersistenceUnit: bookingDatabase] class or package not found
      at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1089)
      at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:886)
      at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:772)
      at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:183)
      at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:240)
      at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:120)
      at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:51)

      and

      java.lang.ClassNotFoundException: org.jboss.seam.example.jpa.Booking
      at java.lang.Class.forName(Ljava.lang.String;ZLjava.lang.ClassLoader;)Ljava.lang.Class;(Unknown Source)
      at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:112)

      Any help on this? Unfortunetly, I'm new to both Seam and Weblogic.

      Thanks,
      Jeremy J. Barth