Skip to main content

The server encountered an internal error () that prevented it from fulfilli

1 reply [Last post]
Joined: 2010-08-10

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, 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 the form, after submition the following error shows up:

HTTP Status 500 -
type Exception report

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

javax.servlet.ServletException: javax.ejb.EJBException

root cause

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

root cause
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,

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2005-04-04

What is the structure of your application?