Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

taglib: class not found in jar-file

Status
Not open for further replies.

jonasbuechel

Programmer
Jun 10, 2004
4
CH
I've got the following problem:

I whant to deploy a taglib to tomcat 5.0.25.

If I point to the jsp which uses the taglib I got the following error:

org.apache.jasper.JasperException: Unable to read TLD "META-INF/taglib.tld" from JAR file "file:/C:/Programme/Apache Software Foundation/Tomcat 5.0/webapps/taglibtest/WEB-INF/lib/gsa_prod3_db_taglib.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: ch.gsa.prodass3.taglib.TagAddAttributeTEI
...

If I copy the taglib.tld out of the jar-file into WEB-INF and do the mapping in web.xml, I get this error:

org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: ch.gsa.prodass3.taglib.TagAddAttributeTEI
...
root cause
java.lang.ClassNotFoundException: ch.gsa.prodass3.taglib.TagAddAttributeTEI
...

It seems like none of the files in the jar-file could be loaded.

Has anybody an idea?
Help would be very appreceated!

Greetings, Jonas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top