cancel
Showing results for 
Search instead for 
Did you mean: 

Serveral errors when activate CompileOnStartUp property

Former Member
0 Kudos

Hi,

I'm testing the property CompileOnStartUp in the WebContainer.

When the server restarts the log files contains a lot errors, all of them trying to compile the jsp pages. The log file shows this message:

<b>The error is: Tag library descriptor cannot be found for uri:. </b>

Any suggestions?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

José,

I don't have an answer for you but I'm responding because I have the same problem. Hopefully, this will move the thread to the top and someone else will see it and respond.

Thanks

David.

Former Member
0 Kudos

Hi David

Not sure if you have managed to resolve the issue but Ill try and summarise (just in case others have a similar problem):

ISSUE: Following exception thrown when a jsp page in a Web Project wishes to use a JSP Tag Library:

com.sap.engine.services.servlets_jsp.lib.jspparser.exceptions.JspParseException: Tag library descriptor cannot be found for uri:{1}.

Steps to setup tag library in a web app:

1) Copy the tag library descriptor (.tld) file to /WEB-INF subdirectory, for example myTags.tld

2) Copy the tag library JAR file(s) to WEB-INF/lib

3) Finally add a <taglib> element to your web application deployment descriptor in /WEB-INF/web.xml like this:

<taglib>
  <taglib-uri>tagLib</taglib-uri>
  <taglib-location>/WEB-INF/myTags.tld</taglib-location>
</taglib>

Then in your jsp page include the following:

<%@ taglib uri="tagLib" prefix="myTags" %>

This link provides further info: http://help.sap.com/saphelp_nw04/helpdata/en/c4/b3d3e40ef53e49ade015635b729fc5/content.htm

Follow the aforementioned steps and your jsp page should start using the specified Tag Library

Cheers

Ankit