带有Eclipse的Tomcat,找不到类 [英] Tomcat with eclipse, class not found

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

问题描述

大家好,

我将Eclipse与Tomcat 6.05结合使用来构建动态Web项目
一切都完成了,项目运行良好,直到我更新了Eclipse,现在当我运行第一页/index.jsp页面时,它无法转到第二页,它给了我:

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1516)

但是重新启动我的机器后,它会运行并转到所有页面.

有人可以帮忙解决这个问题吗?

Hi All,

I am using Eclipse with Tomcat 6.05 to build a dynamic web project
Everything was complete and project was working fine until I update my eclipse and now when I run my first/ index.jsp page it cannot go to second page it gives me:

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1516)

But after restarting my machine it runs and goes to all pages.

Can anybody please help with the problem.

Thanks in Advance.

推荐答案

检查环境变量中是否存在CATALINA_HOME ...;

如果没有,则创建新的环境变量CATALINA_HOME,并且路径是您的tomcat exe..
check in the environment variable is CATALINA_HOME is exist or not...;

if not then create new environment variable CATALINA_HOME and path is your tomcat exe..


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

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