覺得是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