美文网首页我爱编程work
Failed to load or instantiate Ta

Failed to load or instantiate Ta

作者: HListenD我爱我家 | 来源:发表于2018-05-16 11:42 被阅读0次

    今天遇到这个问题:

    严重: Servlet.service() for servlet springServlet threw exceptionorg.apache.jasper.JasperException: /jsp/qyjg/index.jsp(3,61) Unable to read TLD "META-INF/c.tld" from JAR file "file:/D:/1workTools/1webapps/qyjg/WEB-INF/lib/jstl-1.2.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLVat 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:218)at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:183)

    at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:386)

    at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:450)

    at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1399)

    at org.apache.jasper.compiler.Parser.parse(Parser.java:130)

    ----------------------------------

    解决方法:

    问题产生是应为,project的lib和tomcat的lib下面都用jsp-api.jar;

    在project的lib中删除jsp-api.jar,接着通过Build path的方式将tomcat的lib下面的jsp-api.jar引进来,

    OK!问题解决。

    相关文章

      网友评论

        本文标题:Failed to load or instantiate Ta

        本文链接:https://www.haomeiwen.com/subject/svkpdftx.html