For a Eclipse Juno EE version running on Linux, How to attach the sources?
The conventional pointing to src.zip in the attach source is not working that is ; its not displaying the correct line w.r.t the stack trace.
Which Java are you using? The one from Oracle, or Open JDK? How did you install it, via your package manager? (Generally speaking, if you installed the Oracle JDK from the Oracle web site, then specifying that JDK as the default JRE in Eclipse should get the sources linked. If you installed something else, you'll need to let us know what.)
I have been able to resolve the problem myself. My Eclipse and project was referring to Open JDK whereas the tomcat server was pointing to Oracle JDK.Hence on changing both to the same JDK version, my problem was solved.