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!

Exclude libraries from ear file

Durga VBCSFeb 20 2017 — edited Feb 28 2017

Hi

Jdeveloper version is 11.1.1.6.0.

i have to exclude some of the jarĀ  files while generating ear file. Basically those libraries are there in Server lib.

But in project class path those files should be there for successful compilation. Since these jar files are there in both server lib and generated ear file we are getting error.

When we delete jars which are in generated ear only we could deploy the ear...

I have tried 'Exclude' option in Jdeveloper...not worked.

All the time am generating ear and then deleting jars externally and deploying code.

Can you please share your thoughts to exclude jars while generating ear in Jdeveloper.

Thanks in advance.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 28 2017
Added on Feb 20 2017
5 comments
796 views