My Oracle Support Banner

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

Last updated on SEPTEMBER 09, 2024

Applies to:

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

Goal

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.

Solution

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
Goal
Solution


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