Tomcat 6.0的问题 [英] Problem with Tomcat 6.0

查看:76
本文介绍了Tomcat 6.0的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




i首先在我的托管服务器系统中安装tomcat 5.5并在webapps中创建一个文件夹(如test)并放置所有jsp文件。并且还创建了另一个文件夹(如test2)并将所有相关文件放入其中。


现在我将网址设为 http:// localhost:8080 / test / sample.jsp

http:// localhost:8080 / test1 / home.jsp


两者都工作正常。


现在我安装了tomcat 6.0并将tomcat 5.5中的所有文件移动到tomcat 6.0中


然后我将网址作为 http:// localhost:8080 / test / sample.jsp


当我给另一个网址时

HT tp:// localhost:8080 / test1 / home.jsp

它显示错误消息

Hi,

i am first installing the tomcat 5.5 in my hosting server system and created the one folder(like test) in webapps and place all the jsp files.And also created the another folder(like test2) and place all related files in that.

Now i give the url as http://localhost:8080/test/sample.jsp

http://localhost:8080/test1/home.jsp

Both are working fine.

Now i installed tomcat 6.0 and move the all the files in tomcat 5.5 into tomcat 6.0

Then i give the url as http://localhost:8080/test/sample.jsp

And when i give the another url as

http://localhost:8080/test1/home.jsp

it shows the error messages as

展开 < span class =codeDivider> | 选择 | Wrap | Line数字

推荐答案

很可能在您的应用程序的WEB-INF / lib directry中有一些违规(对Tomcat 6)jar。你有什么罐子?
Most likely there are some offending (to Tomcat 6) jars in your application''s WEB-INF/lib directry. What jars do you have there?


谢谢你的回复。在另一个目录i,e test1我放置WEB-INF文件夹,它只包含web.xml。我没有放置任何jar文件..


请建议进一步解决方案
Thank you for Reply. in another directory i,e test1 i place WEB-INF folder and it consists only web.xml .I didn''t place any jar files..

please suggest that further solution


停止tomcat,删除整个工作。目录(如果您对此感觉不好,请先备份)然后重新启动服务器。
Stop tomcat, delete the whole "work" directory (back it up first if you get a bad feeling about this) and then restart the server.


这篇关于Tomcat 6.0的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆