users@glassfish.java.net

EntityManager no longer finds entities

From: <glassfish_at_javadesktop.org>
Date: Thu, 09 Jul 2009 03:34:34 PDT

Hi all,

My GF 2.1 installation has suddenly stopped working for one of my web applications: that is, after successfully logging in (GF is managing authentication) I get the following error:

javax.servlet.ServletException: java.lang.IllegalArgumentException: Unknown entity bean class: class it.belluno.comune.persistenza.sicurezza.Utenti, please verify that this class has benn marked with the @Entity annotation.

Up until this morning everything has been working fine. If I deploy the application to my local GF 2.1 everything works as before.

I use the NB 6.7 IDE and this error is happening in the findEntity(String id) method of my jpa class. As soon as the find method of the EntityManager gets called the above error is returned.

Any ideas on why this might be happening? Thanks for any insight.
[Message sent by forum member 'wtmann' (wtmann)]

http://forums.java.net/jive/thread.jspa?messageID=354863