Lot's of things could have gone wrong: there might be no META-INF/ persistence.xml file at all, it could have listed a missing provider class, or it could have a valid class, but one that had problems loading (due to a missing dependency).


On Apr 10, 2007, at 12:52 PM, Jacek Laskowski wrote:

On 4/10/07, Marc Prud'hommeaux <[EMAIL PROTECTED]> wrote:

Glad you got it fixed. It's annoying that
javax.persistence.Persistence doesn't provide more of a clue as to
why it failed.

I wonder what else you'd like to see other than what's already printed
out? It tells exactly why it's failed - "No Persistence provider for
EntityManager named ode-store" is just a JPA version of
"NoClassDefFoundError" in "pure" Java.

Jacek

--
Jacek Laskowski
http://www.JacekLaskowski.pl

Reply via email to