Sito in manutenzione, alcuni link potrebbero non funzionare correttamente

Unable to read TLD “META-INF/c.tld” from JAR file

I installed the lastest version of JasperServer on my my brand new server based on tomcat6 with jdk6 but on the first page I got the message “Unable to read TLD “META-INF/c.tld” from JAR file…”.

My first try was to downgrade tomcat and jdk to a previous version andit seemed to work. I first thought in a bug somewhere in tomcat and after some time (20 minutes of my precious time!!!!!) my attention got capured by a message in catalina.out “.. file geronimo.jar skiped … contains Servet violation spec….. ”

So JasperServer contains in WEB-INF/lib some servlet libraries?!?! Could be possible it’s not a war made by me so somebody could have made some mistake. Listing the files in WEB-INF/lib i found the entire world of web libraries, included jsp-api. Yes this is the problem!

Tomcat excludes genonimo.jar because it contains Servlet api’s but loads jsp-api located in WEB-INF/lib because no checkis made. No jsp can be compiled because jasper (not jasper reports) compiles from a classloader and jsp-api are located in a different classloader.

Removig jsp-api everything works fine again.


Commenti

8 risposte a “Unable to read TLD “META-INF/c.tld” from JAR file”

  1. Avatar steffen
    steffen

    Great entry. Solved my problem, too.

    Thank you very much.

  2. Saved my life!!! Thanks for the blog entry.

  3. Thank you this solved my problem

  4. With Eclipse, please assure that you installed ‘Maven Integration for Eclipse **WTP** ‘
    With the other plugin without WTP, eclipse change your classpath and include servlet-api.jar in your webapps.

  5. Thank you very much!

  6. In fact no matter if someone doesn’t understand then its up to other users that they will help, so here it happens.

  7. Avatar pity 2011
    pity 2011

    Wow, amazing blog layout! How long have you been blogging for?
    you make blogging look easy. The overall look of your website is excellent, let alone the content!

  8. What a great short article on Unable to read TLD

Lascia un commento

Il tuo indirizzo email non sarร  pubblicato. I campi obbligatori sono contrassegnati *

Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.

WP to LinkedIn Auto Publish Powered By : XYZScripts.com