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

榆木 发布于 2011/04/07 20:29
阅读 9K+
收藏 1

高手帮忙看看啊,谢谢了!

严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /index.jsp(2,0) Unable to read TLD "META-INF/c.tld" from JAR file "file:/E:/apache-tomcat-6.0.24/webapps/college/WEB-INF/lib/jstl-1.2.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV
 at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
 at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
 at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)
 at org.apache.jasper.compiler.Parser.processIncludeDirective(Parser.java:296)
 at org.apache.jasper.compiler.Parser.parseIncludeDirective(Parser.java:329)
 at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:437)
 at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1392)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:130)
 at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:255)
 at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
 at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:170)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
 at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
 at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at edu.xfxy.cy.servlet.EncodingFilter.doFilter(EncodingFilter.java:28)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
 at java.lang.Thread.run(Thread.java:619)

加载中
1
鉴客
鉴客

把  javax.servlet.jar  javax.servlet.jsp.jar  干掉

0
鉴客
鉴客

解决方法:删除WEB-INF/lib下面的servlet-api.jar jsp-api.jar

0
榆木
榆木

引用来自#2楼“鉴客”的帖子

解决方法:删除WEB-INF/lib下面的servlet-api.jar jsp-api.jar

 里面就没有啊,还是不行啊

0
鉴客
鉴客

少了 standard-xxxx.jar 的 jar 包

0
榆木
榆木

引用来自#4楼“鉴客”的帖子

少了 standard-xxxx.jar 的 jar 包

 c3p0-0.9.1.2.jar  commons-fileupload-1.2.1.jar  commons-io-1.4.jar javax.servlet.jar  javax.servlet.jsp.jar  jdbc2_0-stdext.jar  json_simple-1.1.jar     jstl.jar     

mysql-connector-java-5.1.13.jar    standard.jar

这是我里面的包

0
榆木
榆木

引用来自#6楼“鉴客”的帖子

把  javax.servlet.jar  javax.servlet.jsp.jar  干掉

 干掉之后,又报这样的错误。我好晕啊!我不要在做菜鸟,我要努力。谢谢你,大哥!

警告: com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@123defe -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks!
2011-4-7 20:51:38 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run
警告: com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@123defe -- APPARENT DEADLOCK!!! Complete Status:
 Managed Threads: 3
 Active Threads: 3
 Active Tasks:
  com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1064a6d (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0)
  com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@5861 (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1)
  com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@aa559d (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2)
 Pending Tasks:
  com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@dabcea
  com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@a8a81c
  com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@b4faeb
  com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1c5809e
  com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@17f1d92
  com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6e8504
  com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1dedb45
Pool thread stack traces:
 Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main]
  java.lang.Thread.sleep(Native Method)
  com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
  com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
 Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main]
  java.lang.Thread.sleep(Native Method)
  com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
  com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
 Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main]
  java.lang.Thread.sleep(Native Method)
  com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)
  com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)

0
鉴客
鉴客

报这个错误是个好事,说明第一个错误已经解决了!

返回顶部
顶部