Eclipse doesn't remember source lookup path,走断点时显示source not found

来源:互联网 发布:淘宝为什么月销不增加 编辑:程序博客网 时间:2024/05/16 06:37
1.问题:For some reason Eclipse doesn't remember source lookup path for some java projects, and every time during debugging (after redeploying) I need to press "Edit source lookup path" button and add current project to the list.

解决:Window---->perferences----->Tomcat------>South Path----->勾选最上面的复选框,为Tomcat自动添加项目路径(缺点:不能同时起两个项目走断点,否则会自动添加South Path中最上面的项目,导致断点运行在不正确的项目上)



0 0
原创粉丝点击