server tomcat v7.0 server at localhost failed to start.怎么...
发布网友
发布时间:2024-02-04 06:08
我来回答
共2个回答
热心网友
时间:2024-07-22 11:05
1、In Eclipse, Open the "Server" tab.
2、Double click on the "Tomcat6" entry to see the configuration.
3、Then click on the "Open launch configuration" link in the "General information" block.
4、In the dialog, select the "Classpath" tab.
5、Click the "Add external jar" button.
6、Select the file "/usr/share/tomcat6/bin/tomcat-juli.jar"
7、Close the dialog.
8、Start tomcat 6 from Eclipse.
热心网友
时间:2024-07-22 11:06
已经发布到tomcat上的某个项目的servlet过滤器配置错误。
如在web.xml下,将过滤规则定为“*”就是一种错误,需要更正为“/*”或者其他(但是必须要有“/”开头,表示当前项目)