eclipse在debug时,运行到端点时出现Source not found

1.工具:eclipse javaEE
    Eclipse Java EE IDE for Web Developers.
    Version: Juno Service Release 2
    Build id: 20130225-0426
    (c) Copyright Eclipse contributors and others 2005, 2013.  All rights reserved.
    Visit http://www.eclipse.org/webtoolsjava

2.项目环境:maven 构建、一个前台web项目,多个后台服务项目。每一个项目单独一个工程。
3.问题:在其中一个后台服务项目程序中设置断点,以debug maven build 模式启动所要调试的项目,前台界面点击后进入断点提示:Source not found
4.解决:
  1.在提示Source not found的窗口下面有个按钮"Edit Source Lookup Path...",以下图。web


  2.点击进入,弹出以下图。eclipse


  3.点击Add按钮,弹出以下图窗口,选择workspace。(根据状况选择,通常是选择这个)maven


  4.点击ok后退出,就能够调试了。工具

  5.调试每一个项目都会出现如上问题,依次设置就可。ui

20160912 - 一别经年  ztlspa

相关文章
相关标签/搜索