"source not found" error in Eclipse
using Eclipse Java EE IDE for Web Developers
Version: Juno Service Release 1
I have a WAR file that I imported into my workspace using eclipse. After importing the WAR file I see that it created a project in Eclipse.
When I switch to "navigator" view I can see that there are .class files in this new project present however when I click on a .class file to open the file I am getting the following error:
"Source not found. There is no source file attached to the class YourClassName.class"
Have any of you experienced this and what do I need to do to resolve this issue?
Re: "source not found" error in Eclipse
You clicked on a .class file and Eclipse tries to show the source (.java) file for it and it can't find the source file. Attach the source file for it (if you have it) and Eclipse will show it for you.