您的位置:首页 > 其它

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

2012-12-26 12:55 676 查看


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

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 22 in the generated java file The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory

根本原因在编译的时候没有加入server runtime变量而是直接把servlet-api.jar jsp-api.jar 放到

WEB-INF/lib下

解决方法:删除WEB-INF/lib下面的servlet-api.jar jsp-api.jar ,java build path添加变量

server runtime
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐