When debugging a large-scale project, I use the links in the printout of the log to go directly to the corresponding file and line. Alas, in many cases I get the following popup:
XXX is not a valid line number in YYY.java
The following message will also appear in the main sub-window:
The JAR file M2_REPO\org\apache\...\some.jar has no source attachment.
Of course, I checked that:
- M2_REPO (defined in Window \ Preferences \ Java \ Build Path \ Classparth Variables) correctly points to the maven repository
- the path and file name in the above message are correct and the file exists
- YYY.java has the string XXX and is indeed the source of the log message
What can an eclipse error do in this trivial task?
What other configuration might be installed incorrectly?