1 Reply Latest reply on Jun 21, 2011 11:12 AM by Mak-Oracle

    Tag library referenced but not installed

    678427
      I am trying to fire up an index.jsp page and am receiving the following errors:

      javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "invalid arguments in call"     at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:309 at org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:192)     at org.apache.taglibs.standard.tag.el.sql.QueryTag.doStartTag(QueryTag.java:124)     at index.jspService(_index.java:61) [index.jsp]

      I believe the problem resides with my tag libraries. When I hover over the two referenced tags below it states that the tag library is not installed.

      <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
      <%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql"%>

      I only get the "tag library is not installed" message in 10.1.3 and not in 10.1.2 and it looks like the libraries in 10.1.3 are set up identically to those in 10.1.2. Any help or direction would be greaty accepted.
        • 1. Re: Tag library referenced but not installed
          Mak-Oracle
          Hi,

          I had faced this problem just now as I was trying to use "xmlns:fmt="http://java.sun.com/jstl/fmt" but it was giving me the error, as you mentioned in your problem. I confirmed it on Oracle site the URL of tag library should be used but it was same a I was using.

          I read few blogs. They suggested following:

          1. Restart the application
          2. Restart the tool/ IDE in my case Jdeveloper
          3. Add JSTL tag library - in my case, it was there as I was using core and function already.

          What has worked for me:
          I confirmed the URL of "format" tag library in the libraries added in my project "http://java.sun.com/*jsp*/jstl/fmt". The URL that I was using before was different.

          For Jdeveloper application you can also check the correct URL as :
          Right Click the Project --> Select Project Property --> Select JSP Tag libraries --> you will get lots of the library added (depends on the case to case) --> Select the library that you want to confirm --> It will Populate the path of TLD file and URI.

          You can use the URL path in your JSP/ JSPX file.


          *MAK*

          Edited by: MAK on Jun 21, 2011 4:12 AM