openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Prud'hommeaux <mprud...@apache.org>
Subject Re: Testing an OpenJPA module
Date Tue, 10 Apr 2007 20:01:53 GMT

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 <mprudhom@apache.org> 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


Mime
View raw message