Class Loading Conflict When Attempting To Use Sites JARs With prefer-application-packages node in weblogic.xml in Sites App Integration
Last updated on AUGUST 29, 2016
Applies to:Oracle WebCenter Sites - Version 18.104.22.168.0 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
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms