users@glassfish.java.net

Re: java.lang.NoClassDefFoundError: javax/persistence/spi/ProviderUtil

From: <glassfish_at_javadesktop.org>
Date: Tue, 08 Dec 2009 10:12:08 PST

It seems that the jpa libraries are not in the CLASSPATH since you are running a standalone application.
If you are using glassfish I would suggest that you put the hibernate JPA libraries at {glassfish_home}/lib
[Message sent by forum member 'komarios' ]

http://forums.java.net/jive/thread.jspa?messageID=375403