Hi Gul,

The root cause is class path or class loader problems. A class loaded by a different class loader is considered to be a different class by Java even if it has the same name.

Does this help?

Craig

On Nov 23, 2007, at 7:30 AM, Gul Onural wrote:

Hi,

We are observing a strange exception sporadically, for different JPA
classes. When we replace an ear file containing
our jar with our jpa classes, we see an exception  thrown :

"2?com.mycompany.UserDetails incompatible with
com.mycompany.UserDetails"

We see this exception even the class in question is unchanged.

Did anyone saw this type of exception before ? What would be the route
cause of this ?

Gul


Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to