Maven debug异常:Source not found.

异常

用Maven debug 时出现了Source not found.,在调试过程中尝试添加源码也没有效果


解决方案


  1. 先把当前正在运行中的项目停止
  2. 右键项目 -> Debug As -> Debug Configurations ...
  3. Maven build -> Source ->Add 把需要用到的项目导入
4.重新执行Debug进行调试即可
原文地址:https://www.cnblogs.com/evan-liang/p/12233969.html