reno,
-You dont need to add any jars in EAR’s MANIFEST.MF.
-Any module that wants to use a jar from EAR’s libraries needs to reference the jar in module MANIFEST.MF like:
Class-Path: lib/TheJarNameHere.jar
That should make it work at server side.
You can skip adding a jar to WEB module’s MANIFEST.MF, then it will be packaged into WEB project’s lib directory in case you add the jar to WEB module’s Java buildpath as described below.
Now to resolve it at IDE (compilation) side:
Right-click on you module project that requires an EAR library, select “properties”->”Java Buildpath”->”Libraries”->”Add jars” and select the EAR’s jar to add it to the module’s classpath.
We’re going to make this process more intuitive in MyEclipse 11 so you dont have to add the same jar twice.
Best regards,
Denis.