My Oracle Support Banner

Class Loading Conflict when Attempting To Use Sites JARs With prefer-application-packages node in weblogic.xml in Sites App Integration (Doc ID 2174843.1)

Last updated on SEPTEMBER 27, 2021

Applies to:

Oracle WebCenter Sites - Version and later
Information in this document applies to any platform.


When attempting to use Sites provided WEB-INF/lib/asm-5.0.3.jar file with <package-name>org.objectweb.asm.*</package-name> for an application integration, only the asm-3.1.jar is being picked up.

There are multiple versions of the ASM jar installed on the system, such as:


If the asm-5.0.3.jar is needed to be the primary referenced JAR, then you generally use the <prefer-application-packages> in the weblogic.xml file.  However, this is failing to work to work and causes a class conflict




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.