Results 1 to 2 of 2
  1. #1
    MCinPgh is offline Member
    Join Date
    Sep 2011
    Pittsgurgh, PA
    Rep Power

    Default "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?


  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default 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.

    kind regards,

    The only person who got everything done by Friday was Robinson Crusoe.

Similar Threads

  1. Replies: 0
    Last Post: 02-02-2012, 08:24 AM
  2. -jGRASP wedge2 error: command "javac" not found.
    By ncneeds in forum New To Java
    Replies: 0
    Last Post: 09-28-2011, 09:21 PM
  3. debugger "Source not found"
    By j2me64 in forum Eclipse
    Replies: 2
    Last Post: 03-30-2010, 10:22 AM
  4. Replies: 0
    Last Post: 11-22-2008, 02:49 AM
  5. Strange error message "Source not found"
    By ppayal in forum Eclipse
    Replies: 0
    Last Post: 11-25-2007, 07:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts