Deploying file to WebLogic – Error: Unresolved Webapp Library references

weblogicweblogic-10.x

I received this error on deploying the file to WebLogic.

Should I make any alteration to the Weblogic.xml file?

Error: Unresolved Webapp Library references for "ServletContext@8793091[app:casman-jsf-3 module:casman-jsf-3.5-SNAPSHOT.war path: spec-version:2.5]", defined in weblogic.xml [Extension-Name: jstl, Specification-Version: 1.1, exact-match: true], [Extension-Name: jsf-myfaces, Specification-Version: 1.1, exact-match: true]

Best Answer

To fix this, I had to take the following steps (I am developing using Eclipse and deploying to Weblogic 10.3.5):

  1. REMOVE weblogic.xml from the /WebContent/WEB-INF/ directory
  2. Add needed jars to your lib directory (/WEB-INF/lib/) including JSTL.jar
  3. Add project libraries to your Deployment Descriptor
  4. Install EAR or WAR to Weblogic

This resolved the issue.

Related Topic