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