JasperException: Failed to load or instantiate TagExtraInfo | Isocra Consulting
provigil for sale ativan online no prescription soma online no prescription buy tramadol online without prescription buy klonopin online without prescription buy valium online buy xanax no prescription buy phentermine online no prescription buy alprazolam without prescription buy adipex online ambien online no prescription ultram online no prescription buy zolpidem online without prescription diazepam for sale

org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class

(I had to shorten the article title to fit!)

I’ve just had a problem when I’ve taken a web application from my local Tomcat 5.5 development server (where it worked fine) and uploaded it onto a public server (also using Tomcat 5.5).

I copied the whole application including all the jars in the WEB-INF/lib directory. The web application started up fine and showed up in the Manager as running properly, but when I went to the home page (index.jsp), I got an error saying that there were problems reading the TLD (I am using SiteMesh) in one of the jars, and in particular that it couldn’t instantiate or load the TagExtraInfo class.

Disabling SiteMesh didn’t help, though I discovered it only affected JSPs not HTML pages or Groovy Server Pages.

Comparing the list of Jars in WEB-INF/lib with another application that worked, I discovered that I had included jsp-api-2.0.jar. Removing this jar and restarting the application from the manager sorted the problem.

I’m not sure why I didn’t get the same error on the development server but presumably the problem arises from version incompatibilities.

If you get similar problems, try making sure that you haven’t got this extra Jar in your WEB-INF/lib directory.

Tagged with:

7 Responses to JasperException: Failed to load or instantiate TagExtraInfo

  1. Thanks a lot. It was facing this issue and it is resolved now.

  2. Kamau says:

    Thanks a lot. I’ve been trying to solve this problem for the past couple of hours to no avail until now. Appreciate it.

  3. Tarun says:

    I am facing exactly the same problem, app working fine on local environment but the same “failed to load or instantiate tagextrainfo” error on public server. In my case I don’t even have the jsp-api-2.0.jar in my lib but tomcat(5.5.x)/lib has jsp-api.jar

    I have removed all the common jar files between my app and tomcat. Moreover I get this error ONLY when i deploy the application on root context, it works perfectly fine on /abc context.

    Appreciate any inputs !! Needless to mention this is driving me crazy !!!


  4. Sathiya Packirisamy says:

    Thanks a lot. Its working. I have been struck up with for the coulpe of days. Thanks for ur solution.

  5. Narayana Sai says:

    Thank you …. :)…good one

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>