0

I am trying to understand the spring-social-showcase example in Eclipse and wants to browse the source code for its dependent projects. When I try to jump to some declaration found in the spring social core package, I get the below error:

Class file editor

Source Not found: The jar file .....spring-social-core-1.1.0.RELEASE.jar has no source attachment. You can attach the source...

enter image description here

I tried these by reading the SO posts which didn't work for me:

  1. Attach Source -> External Location -> External file and pointed to "spring-social-1.1.0.RELEASE.zip" in my system.
  2. Attach Source -> External Location -> External folder and pointed to "spring-social-1.1.0.RELEASE" folder in my system.
  3. Attach Source -> External Location -> External folder and pointed to "spring-social-1.1.0.RELEASE\spring-social-core\src\main\java\org\springframework\social\connect" folder where the specific java file lies.
  4. In Project properties -> Java build path -> Libraries, specified the source attachment by pointing to the "spring-social-1.1.0.RELEASE.zip".
  5. In Project properties -> Java build path -> Source, added folder as linked folder.
  6. In Project properties -> Java build path -> Projects, added project as a dependent project.

All of these have failed for me and still I am seeing this error. Is there a problem with my Eclipse installation? How should I confirm this?

I am on verge of madness now, please save me.

asked Oct 15, 2014 at 12:01
2
  • stackoverflow.com/q/9940158/1079354 Commented Oct 15, 2014 at 12:50
  • As I have mentioned, I have seen all these posts but the suggestions over there didn't help me. Commented Oct 15, 2014 at 13:44

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.