Ad (728x90)

Filled Under: , , , ,

org.apache.jasper.JasperException: Unable to read TLD "META-INF/tlds/struts-tiles.tld" from JAR file org.apache.jasper.JasperException: Failed to load or instantiate

Exceptions Interview Questions Learn Struts Struts 1 Struts 2
All of sudden scenarios come over where struts-tiles.xml or struts component missing from struts.jar and it is present into jar, it usually come under circumstances when migration of server took place.

Issue description: org.apache.jasper.JasperException: Unable to read  TLD "META-INF/tlds/struts-tiles.tld" from JAR file <struts.jar> org.apache.jasper.JasperException: Failed to load or instantiate or files usually present struts.xml are not caught by application server at runtime.

I would recommend you to please go through the following steps to resolve the issue:

Step1: In case Application server is not able to render/called classes or xml and throw errors, it means two same classes or component come accross within two jars, same can be here as Tomcat and struts.jar have common components which may lead to not to load those component, so please remove tomcat "jsp-api.jar" from tomcat lib or from where it is coming, It will resolve the issue as it supress the jars of both Tomcat and your application due to which it throws exception.

Step 2: Please unjar the struts.jar and check for class or xml which is comming into error, in case it is missing from jar then please dowload the new version and change the jar.

Majorly step1 will resole the issues, In case not, change the jar file would be the last option.

Unknown

Author & Editor

Has laoreet percipitur ad. Vide interesset in mei, no his legimus verterem. Et nostrum imperdiet appellantur usu, mnesarchum referrentur id vim.

0 comments:

Post a Comment

Please write to us here...

 

We are featured contributor on entrepreneurship for many trusted business sites:

  • Copyright © Tekhnologia™ is a registered trademark.
    Designed by Templateism. Hosted on Blogger Templates.