Link to home
Start Free TrialLog in
Avatar of booksplus
booksplus

asked on

Weblogic - Error 500 Internal Server Error (java.lang.NoClassDefFoundError)

I am getting a "Error 500--Internal Server Error".  The reason for the error is as follows.

The Weblogic server can find my servlet in my war file.  But my servlet class references a struts action class.
The action class is in the jar file.  The war and jar are in the same ear.  The error is  a  class not found exception -
the action class in the jar is not being found.

ASKER CERTIFIED SOLUTION
Avatar of Murali Murugesan
Murali Murugesan
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of booksplus
booksplus

ASKER

I ended up taking a differenct course of action.  I ended up referencing the jar file (that contains the class file) in the
manifest.mf file of the war file  (sounds like a tounge twister).  The jar file is not actually in the war file, it is
in the ear file.  By referencing it in the manifest.mf of the war, the classloader was able to find the class.

Thanks anyway.