openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: em.getMetamodel exceptions
Date Thu, 27 Jan 2011 13:11:44 GMT
s/classfile/classpath/ + other obvious spelling fixes...

anyway ;)

LieGrue,
strub

--- On Thu, 1/27/11, Mark Struberg <struberg@yahoo.de> wrote:

> From: Mark Struberg <struberg@yahoo.de>
> Subject: Re: em.getMetamodel exceptions
> To: users@openjpa.apache.org
> Date: Thursday, January 27, 2011, 1:08 PM
> can you try a class.forName on this
> class?
> 
> First guess is that you have no access to class. Either the
> jar is not on the classfile, or it is not public...
> Or a subsequent dependency is missing.
> 
> LieGrue,
> strub
> 
> --- On Thu, 1/27/11, Christopher Schmidt <fakod666@googlemail.com>
> wrote:
> 
> > From: Christopher Schmidt <fakod666@googlemail.com>
> > Subject: em.getMetamodel exceptions
> > To: users@openjpa.apache.org
> > Date: Thursday, January 27, 2011, 12:54 PM
> > Hi, while calling em.getMetamodel
> > where em is the current EntityManager I
> > get the following INFO trace of all entities:
> > 
> > Running XXX.persistence.popo.MyTest
> > 131  XXX  INFO   [main]
> > openjpa.Runtime - OpenJPA dynamically loaded a
> > validation provider.
> > 168  XXX  INFO   [main]
> > openjpa.Runtime - Starting OpenJPA 2.0.1
> > 361  XXX  INFO   [main]
> > openjpa.jdbc.JDBC - Using dictionary class
> > "org.apache.openjpa.jdbc.sql.PostgresDictionary".
> > 1151  XXX  WARN   [main]
> > openjpa.MetaData - Meta class
> > "XXX.persistence.popo.Road_" for entity class
> > XXX.persistence.popo.Road can
> > not be registered with following exception
> > "java.security.PrivilegedActionException:
> > java.lang.ClassNotFoundException:
> > XXX.persistence.popo.Road_"
> > 1155  XXX  WARN   [main]
> > openjpa.MetaData - Meta class
> > "XXX.persistence.popo.Location_" for entity
> > class XXX.persistence.popo.Location can not be
> registered
> > with following
> > exception "java.security.PrivilegedActionException:
> > java.lang.ClassNotFoundException:
> > XXX.persistence.popo.Location_"
> > . . .
> > 
> > Any advice what can be the cause for this?
> > 
> > -- 
> > Christopher
> > twitter: @fakod
> > blog: http://blog.fakod.eu
> > 
> 
> 
> 
> 


      

Mime
View raw message