我正在尝试使用Spring Tool Suite(Eclipse)练习spring .
一切都很好,除了我想在IDE中看到api doc .
例如,
Application context = new .... context.getBean() - >我想直接从eclipse中看到关于这个方法的解释 .
但它说 .
注意:此元素既没有附加源也没有附加Javadoc,因此找不到Javadoc
有什么好主意吗?
转到 build path ,您已添加 jars . 选择 jar ,展开它并选择 source attachment . 现在单击 edit 并添加 source attachment .
build path
jars
jar
source attachment
edit
您也可以使用 build tools ,如 maven ,自动下载源代码 .
build tools
maven
1 回答
转到
build path
,您已添加jars
. 选择jar
,展开它并选择source attachment
. 现在单击edit
并添加 source attachment .您也可以使用
build tools
,如maven
,自动下载源代码 .