Unable to read TLD "META-INF/c.tld" from JAR file 解决方法

JSP页面显示不了,报错如下:
org.apache.jasper.JasperException: Unable to read TLD "META-INF/c.tld" from JAR file "file:/E:/Tomcat 5.5/webapps/bookstore/WEB-INF/lib/standard.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

原     因:
项目的WEB-INF中加入了servlet-api.jar jsp-api.jar,和tomcat自带的冲突 : WEB-INF/lib下的servlet-api.jar jsp-api.jar 和tomcat自己的servlet-api.jar jsp-api.jar 冲突了.

解决方法:
    去掉WEB-INF/lib下的servlet-api.jar jsp-api.jar 即可.

 

你可能感兴趣的:(Unable to read TLD "META-INF/c.tld" from JAR file 解决方法)