2 Replies Latest reply on Aug 20, 2007 10:56 AM by pmuir

    EJB 2.x Container and Seam

    jeffrichley1

      I have been reading through the documentation and I see references to running Seam inside of non EJB 3.0 containers. I have been trying to set it up inside of another and was having a bit of success until I started getting:

      Caused by: java.lang.NoClassDefFoundError: javax/persistence/Entity
      at org.jboss.seam.Seam.getComponentType(Seam.java:74)
      at org.jboss.seam.Component.(Component.java:212)
      at org.jboss.seam.Component.(Component.java:203)
      at org.jboss.seam.init.Initialization.addComponent(Initialization.java:851)

      If I am not mistaken, javax.persistence.Entity is new in JavaEE right? Is there some kind of configuration that I need to turn off or something?