This content has been marked as final.
Show 3 replies
-
1. Re: NoClassDefFoundError
adrian.brock Sep 21, 2002 10:48 AM (in response to sseaman)server//lib should be available
to everything.
But it is only loaded at startup.
Did you restart the server?
You can put jars in server//deploy
for hot deployment
Regards,
Adrian -
2. Re: NoClassDefFoundError
sseaman Sep 23, 2002 12:06 PM (in response to sseaman)That worked. Don't know why it didn't before.
Anyway, do you know of any way to put the jars required by the objects into the j2ee jar file so I do not have to put files into the /server//lib dir?
I also don't want to have the util jars in the deploy dir. I would like to have them in the one jar that represents the whole app.
Thanks! -
3. Re: NoClassDefFoundError
benw Sep 23, 2002 3:40 PM (in response to sseaman)Put them all in an .ear file. Refer to the Sun Java web site on how to create one (or a good J2EE book). Make sure that the MANIFEST.MF file in your application jar has a reference to the 3rd party jars.
Ben