My Oracle Support Banner

Loading Order of Sibling Jar Files in WebLogic (Doc ID 1557187.1)

Last updated on SEPTEMBER 01, 2021

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


A Web application contains two libraries (lib1.jar and lib2.jar) in WEB-INF\lib.
Same Java classes and resources files exist in both libraries and will result in duplicate classes or NoSuchMethodError.

The question is to know which library will be loaded when loading these classes or resources files.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.