It looks like its not finding the JPA2 drivers. Does GlassFish include an older version of JPA?
On Thu, Nov 4, 2010 at 5:09 PM, Bryan Wooten <[email protected]> wrote: > First I had NoClassDefFound errors for spring-jdbc. I fixed that by > adding spring-jdbc dependency to my overlay pom.xml. After that I got > NoClassDefFound errors for slf5j classe, so I added slf4j dependencies to my > pom.xml. > > > > Now I am get this: > > > > Error creating bean with name 'entityManagerFactory' defined in > ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Invocation of > init method failed; nested e > > xception is java.lang.NoSuchMethodError: > javax.persistence.spi.PersistenceUnitInfo.getValidationMode()Ljavax/persistence/ValidationMode; > > > > I am deploying to a Glassfish 2.1.1 server. > > > > Does anyone have any ideas? > > > > Thanks, > > > > Bryan Wooten > > > > [email protected] > > Work: 801.585.9323 > > Cell: 801.414.3593 > > > > -- > You are currently subscribed to [email protected] as: > [email protected] > > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
