3

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?

4

2 回答 2

2

窗口->首选项->Maven

并检查

“下载工件源”

当您调试代码时,eclipse 应该自动下载缺少的源(至少对我来说它以这种方式工作)。

于 2011-11-04T13:28:41.853 回答
0

这个问题似乎与 StackOverflow 上的另一个问题非常相似或重复。看看这个

我以为你必须为此拥有 m2 插件,但我还没有检查。

于 2011-11-15T22:14:45.020 回答