eclipse 本地tomcat debug eclipse-- window——Preferences 搜Launch tomcat6.x--Launch--create Launch configuration common 里的设置再用debug启动tomcat