Skip to Main Content

Java Development Tools

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!

WAR, MANIFEST.MF and class-path to jars

user10047839Mar 28 2011 — edited Mar 28 2011
Hello,

I have a WAR shared library shared.mylib consisting of a series of JARs in a WAR:

/WEB-META/
MANIFEST.MF
/WEB-INF/
lib/
lib1.jar
lib2,jar
...
in the MANIFEST.MF I don't need to specify any Class-Path, since lib/ is considered by default and classes are loaded.
However I need a way to load classes from other directories in the WAR (without specifiying each jar if possible).

I have tried all the possibilities with Class-Path in the MANIFEST, but nothing works. Suppose you have /mylibs/ with many jars other than the default /lib.
What should I have to do to make weblogic load all the claasses in the jars under /mylibs ?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 25 2011
Added on Mar 28 2011
1 comment
1,472 views