使用eclipse的JSP的间歇性ClassNotFoundException [英] intermittent ClassNotFoundException for JSP using eclipse

查看:392
本文介绍了使用eclipse的JSP的间歇性ClassNotFoundException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows上运行Eclipse Indigo,Tomcat 7 - 使用eclipse wtp插件在ROOT上下文中运行Web应用程序我遇到了这个间歇性问题,其中eclipse无法找到已编译的JSP。它在首次访问JSP时发生,除非通过停止Tomcat服务器并清理Work目录和项目目录,否则无法解析。编译版本在eclipse目录结构中:

Running Eclipse Indigo, Tomcat 7 on Windows - running the web application on the ROOT context with eclipse wtp plugin I am getting this intermittent problem where eclipse cannot find the compiled JSP. It occurs when first accessing the JSP and cannot be resolved except by stopping the Tomcat server and cleaning the Work directory and the project directory. The compile version is there in the eclipse directory structure:

.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\_\org\apache\jsp\WEB_002dINF\...

但它仍会产生此错误。

经过一番研究后我发现这个相关的线程似乎只是表明问题所在应用程序部署在ROOT上时发生。

After some research I found this related thread which seems to suggest the problem only occurs when the application is deployed on ROOT.

http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/208071

还有一个bug已输入:
https://bugs.eclipse.org/bugs /show_bug.cgi?id=334977

And a bug has been entered: https://bugs.eclipse.org/bugs/show_bug.cgi?id=334977

有没有人遇到类似的问题并且知道解决方案?

Has anyone had a similar issue to this and knows a solution?

推荐答案

您好请尝试按照第一个屏幕截图配置值并按照第二个屏幕截图更改位置并尝试是否适用于您。

Hi please try to configure value as per first screen shot and change location as per second screenshot and try if that works for you.

这篇关于使用eclipse的JSP的间歇性ClassNotFoundException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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