ClassNotFoundException In Deploying When A Referred Jar Not In Classpath

(Doc ID 2237001.1)

Last updated on APRIL 24, 2017

Applies to:

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

Symptoms

Application which contains a reference to a logging library is not present in the classpath (neither in app classpath or server classpath). This application can be successfully deployed on WLS 12.2.1.0, when the following is done:

connect('user','password','url')
domainConfig()
edit()
cd('CdiContainer/mydomain')
startEdit()
set('ImplicitBeanDiscoveryEnabled',1) // 1 to enable 0 to disable
validate()
save()
activate(block="true")


However, with the same changes, the application cannot be deployed on WLS 12.2.1.2. The application fails to deploy with the following error:

Cause

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