openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StephanKoo <Stephan.Ko...@web.de>
Subject Re: java.lang.ClassCastException: org.apache.openjpa.util.Id incompatible with org.apache.openjpa.util.LongId
Date Tue, 30 Sep 2008 08:57:49 GMT

Hi Michael,

note, that here are different classes. The one class is Id and the other
IntId (the same with LongId; all classes in package
org.apache.openjpa.util).


Michael Dick wrote:
> 
> Hi Stephan,
> 
> This type of exception is generally the result of the class being loaded
> by
> two different classloaders. I've seen it happen in the past when OpenJPA
> is
> included inside an Enterprise Application.
> 
> [...]
> 
> -mike
> 
-- 
View this message in context: http://n2.nabble.com/java.lang.ClassCastException%3A-org.apache.openjpa.util.Id-incompatible-with-org.apache.openjpa.util.LongId-tp1126788p1128394.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message