There's a tricky problem with Maven:
is to add dependencies, because there is no download and associated source code, resulting in automatic prompt cannot appear the correct method name
The traditional approach is to manually execute Maven---Download Sources
That is, each time a dependency is added, it needs to be executed manually.
In fact, the Eclipse Maven plugin provides this functionality, but there may be many developers who are not interested in this feature,
So this sharing to those who are not quite clear about this feature, the configuration is very simple,
Just tick Preferences, Maven---Download Artifact Sources this option.
In this way, eclipse will automatically download the source code.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Automatically download the source after the MAVEN project in Eclipse is introduced