Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem finding class for entity

843830Aug 10 2010 — edited Aug 14 2010
Hi, I really don't know where to put this thread so sorry if it doesn't fit in this forum but don't know where to ask :(

I've developped a simple app to insert new records into a DB using a simple JSP form, struts, EJB, glassfish 3, JPA with eclipselink and postgres DB.

the form points to an action that makes use of a session bean that makes use of an Entity to do the insertion in the databse.

when running the .jsp and filling in the form, after submition the following error shows up:
HTTP Status 500 -
type Exception report

message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception
javax.servlet.ServletException: javax.ejb.EJBException

root cause
javax.ejb.EJBException

root cause
java.lang.NoClassDefFoundError: ar/com/paradorZero/entities/BusCompanyEntity

root cause
java.lang.ClassNotFoundException: ar.com.paradorZero.entities.BusCompanyEntity
note The full stack traces of the exception and its root causes are available in the GlassFish v3 logs.
But when looking into the domains deployment directory in the glassfish for my application, in the JPA project directory I do find the class for the entity.

Can anyone lead me to what could be wrong?
thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 11 2010
Added on Aug 10 2010
4 comments
113 views