Current Status

Actively playing with all possible backend services

30 January, 2013

JSTL tag library issue in Weblogic


Hi again this too technical, only for who interests about Web development in Weblogic server

I developed web application using JSTL tags and when I tried to deploy WAR file in Weblogic server i got following error:


Message icon - Error An error occurred during activation of changes, please see the log for details.
Message icon - Error Failed to load webapp: 'etaagent.war'
Message icon - Error Error: Unresolved Webapp Library references for "ServletContext@163229449[app:etaagent module:etaagent.war path:/etaagent spec-version:2.5]", defined in weblogic.xml [Extension-Name: jstl, Specification-Version: 1.2, exact-match: false]





then,

by googling I found that JSTL library is deployed by default in WebLogic, so I  added the library-ref in weblogic.xml:


< ?xml version="1.0" encoding="UTF-8"?> < wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.2/weblogic-web-app.xsd"> < wls:library-ref> < wls:library-name>jstl< /wls:library-name> < wls:specification-version>1.2< /wls:specification-version> < wls:exact-match>false< /wls:exact-match> < /wls:library-ref> < /wls:weblogic-web-app>

Some Popular Posts