Deployment Fail When Plan.xml Adds a Reference To "helloWorld" Shared Library
Last updated on FEBRUARY 08, 2018
Applies to:Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.
Deployment of application failed when a reference to a shared library was added via plan.xml. The shared library "helloWorldLib" was deployed first and then the application modified via plan.xml to add reference to shared library.
Deployed using wlst command:
deploy(appName='TestSharedLibs', path='/u01/TestSharedLibs/TestSharedLibs.ear', targets='wlserver_1', planPath='/u01/TestSharedLibs/Plan.xml')
Deployment failed with the error:
"[J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: helloWorldLib, Specification-Version: 1, Implementation-Version: 2.2.2, exact-match: true]."
In the log files the following messages were logged:
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