Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2813748
  • 博文数量: 587
  • 博客积分: 6356
  • 博客等级: 准将
  • 技术积分: 6410
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-23 10:54
个人简介

器量大者,福泽必厚

文章分类

全部博文(587)

文章存档

2019年(3)

2018年(1)

2017年(29)

2016年(39)

2015年(66)

2014年(117)

2013年(136)

2012年(58)

2011年(34)

2010年(50)

2009年(38)

2008年(16)

分类: LINUX

2008-10-28 10:27:42

            the  conflict of jsp 2.0 api jsp 2.1 api
 I update tomcat 5.5 with tomcat6.0.18, then I create a new project called test in {tocma_home|\webapps. In test directory ,there are index.jsp(file) and WEB-INF(directory).   Run . It does not work .
 the exception as  follows:
  the method getJspApplicationConext(ServletContext) is undefined for type JspFacotry(there are many exceptions .I feel it is the most important)
  .....
  .....
 the reason that resulted in the exception is the conflict of jsp 2.0 api and jsp 2.1 api .
 the method getJspApplicationContect(ServeletContext) has been put into jsp 2.1 api
 so deal with it as follows:
1:remove the jsp-api.jar and servlet-api.jar in /home/java/jdk/jre/lib/ext directroy.
  the jars in {jdk_home}/jre/lib/ext are loaded first ,then {tomcat_home}/lib
2:cd {tomcat_home}/bin
  ./shutdown (stop tomcat )
  netstat -an | grep 8080(make sure the service is stopped)
  ./startup.sh
now . It is oK.
If the problem still exists . then You should make sure the jsp api version and servlet api version.
阅读(1217) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:迁移cvs下项目到svn

给主人留下些什么吧!~~