简体   繁体   中英

Source not found Error in Java Eclipse

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:

屏幕截图

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!

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM