Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question Regarding Java Stack Trace Console

 
Michele Smith
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello I am working on a project and opened up the Java Stack Trace Console.

The following hyperlinks are un-navigatable:



When I click on the hyperlinks, it says this:

The source attachment does not contain the source for the file HttpServlet class, for instance.

You can change the source attachment by clicking change attached source below.

Is this a cause for concern?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That just means that you have not attached the source to the JARs in your build path. As to whether it is a problem, it is only if you want to see the source If you do, attach the sources. To do this you have to first get the sources and then expand your project to see the included JARs. Right click on a JAR to get the info about it and one of the options will be to attach the source.
 
Paul Clapham
Sheriff
Posts: 21107
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And I would suggest that looking at the source code for (e.g.) HttpServlet is not going to be helpful to you, anyway.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic