0

I'm fairly new to Eclipse and I'm using Kepler with EGit right now but I ran into a problem every time I compile my Java application. I've searched this forum to find a solution for my problem but I am still very confused as to what I can do to fix it. The application worked flawlessly yesterday morning and it works fine on my project partner's laptop but after syncing the project with 4 new commits from my project partner today, I keep getting a Source not found error every time I try to run the application. I get a button saying Edit Source Lookup Path and when I click on it and expand the folders, I get something that looks like this:

Screenshot of my screen

There are a bunch of .jar files above what you see and maTKProject is the name of my project.

If anyone could give some insight on how to fix this problem, I would greatly appreciate it!

10
  • What source is it trying to find? Commented May 16, 2014 at 17:36
  • @SLaks Part of my problem is that I don't really understand what it is trying to find. All my java classes are contained in that src folder under my package name and I've tried clicking on all the different folders but all of them return the same error Commented May 16, 2014 at 17:56
  • 3
    Are you trying to run the application in debug mode? Go to Window -> Show View -> Breakpoints and make sure there aren't any that shouldn't be there! Commented May 16, 2014 at 18:35
  • 1
    @BarbiePylon Hahahah yes! That was the problem! I was messing around with Breakpoints because I didn't really know what it did and I guess I forgot to reset it after I was done playing with it! Thank you very very much! Commented May 16, 2014 at 18:53
  • 1
    possible duplicate of Attaching Java Source to Android projects in Eclipse Commented Aug 26, 2015 at 5:08

1 Answer 1

1

When running the application in debug mode make sure that there aren't any breakpoints that shouldn't be there. Go to Window -> Show View -> Breakpoints and remove as necessary!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

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.