The method getJspApplicationContext(ServletContext) is undefined for the type

来源:互联网 发布:淘宝店铺直通车怎么玩 编辑:程序博客网 时间:2024/06/07 18:18

The method getJspApplicationContext(ServletContext

 

The method getJspApplicationContext(ServletContext) is undefined for the type

The method getJspApplicationContext(ServletContext) is undefined for the type  
 
JspFactory的异常的原因及解决办法原因:
     服务器环境Jboss,Java程由Tomcat5.5工程目录直接拷贝,由于WEB-INF/lib下存在jsp-api.jar、servlet-api.jar,与Jboss自带的jar包冲突造成。
 
 解决办法:
     删除WEB工程Lib目录中的jsp-api.jar、servlet-api.jar,重新启动Jboss服务问题解决。  
 
标记
     在创建工程时,jsp-api.jar、servlet-api.jar这两个jar包都无需手工加入到web工程中,tomcat与jboss都已包含。

原文URL: http://blog.sina.com.cn/s/blog_60029e110100f26f.html
0 0
原创粉丝点击