When I'm debugging in a Maven dependency, which source I've downloaded and I can view in the Eclipse Java perspective, the source doesn't get displayed.
Shouldn't Eclipse wire the sources automatically?
When I'm debugging in a Maven dependency, which source I've downloaded and I can view in the Eclipse Java perspective, the source doesn't get displayed.
Shouldn't Eclipse wire the sources automatically?
去
窗口->首选项->Maven
并检查
“下载工件源”
当您调试代码时,eclipse 应该自动下载缺少的源(至少对我来说它以这种方式工作)。
这个问题似乎与 StackOverflow 上的另一个问题非常相似或重复。看看这个。
我以为你必须为此拥有 m2 插件,但我还没有检查。