觉得是tomcat lib下缺失那个jar,经在http://grepcode.com查询,是tomcat-juli.jar java
下载后,放在tomcat lib下,但是问题依旧。 apache
经google后,发现解决方案: tomcat
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. google
也就是把tomcat-juli.jar加在Servers->tomcat 6->paths中 spa
从新启动tomcat,问题解决。 code