Flask loading error

I am getting NoClassDefintion detected error in my application even though I had linked jars in my folder with my ear, error

java.rmi.RemoteException: EJB Exception: ; nested exception is: java.lang.NoClassDefFoundError: com/sun/rave/web/ui/model/Option

Note. I added the same custom library to my eclipse so that it doesn't show any compilation error. This error only exists at runtime ...... !!!!!

0


source to share


1 answer


I haven't used EJB for a while, but I seem to remember setting up the classpath differently for EJBs. I think you should set it in manifest.mf in the EJB jar.

Quick Google opens this thread , prompting you to put:

Class-Path: jar1.jar, jar2.jar



In the manifest.mf file.

You may also find this page (scroll down the page) and this one (search for "Class-Path") is helpful.

+2


source







All Articles