tomcat 不能debugger 启动

tomcat6 不能debugger 启动了在eclipse下,搜罗一通,断点是没有的,tomcat7 可以debugger,这是为什么呢?
于是 http://stackoverflow.com/questions/7487526/unable-to-debug-in-java-with-eclipse 这里给出了答案,想想前几天安装flex bulider 的时候修改过host 文件了。于是赶紧ping一下自己的电脑:
发现 ping localhost不通,127.0.0.1 是通的,
找到host文件添加上映射,debugger 启动tomcat 好了。

猜你喜欢

转载自yjian84.iteye.com/blog/1920853