My Oracle Support Banner

JDK1.8 ClassLoader Doesn't Load META-INF/services/* From Libraries In WEB-INF/lib With prefer-web-inf-classes=true (Doc ID 2229218.1)

Last updated on MAY 01, 2023

Applies to:

Oracle WebLogic Server - Version 12.1.3.0.0 to 12.2.1.2.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

On JDK1.8 ChangeAwareClassLoader (Web Application ClassLoader) does not load META-INF/services/* from libraries in WEB-INF/lib when prefer-web-inf-classes is set to true.

For example, JAXP library (i.e. xalan-2.6.0.jar) is not loaded from WEB-INF/lib and is loaded from System Classpath.

On JDK1.7 this worked well (it was loaded from library under WEB-INF/lib).

 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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