我在 tomcat server 7 中创建了 java 动态 web 应用程序。当我从 eclipse 运行它时它工作正常。
我通过右键单击项目部署它并通过以下导出对话框导出到tomcat安装的webapp目录并启动tomcat服务器以便我可以访问
http://localhost:8080
但是当我尝试访问时
http://localhost:8080/projectName.
我得到了以下错误。
The requested resource (/projectName/) is not available.
我查看catalina.log
文件。并找到了这些行
SEVERE: Error filterStart
SEVERE: Context [/projectName] startup failed due to previous errors
SEVERE: The web application [/projectName] appears to have started a thread named
[Abandoned connection cleanup thread] but has failed to stop it. This is very
likely to create a memory leak.
进一步使用我的应用程序struts2
。我将struts2
罐子添加到WEB-INF/lib
目录中。为什么我不能从war文件访问我的应用程序?