.class file opens instead of .java while debugging

前端 未结 9 677
北恋
北恋 2020-12-29 03:14

Current setup:

  • MainProject which is a Library Project

  • BranchProject which is a new projects and has MainPr

9条回答
  •  没有蜡笔的小新
    2020-12-29 04:01

    I faced the same issue while debugging the a .java file using Eclipse IDE. As per my understanding this issue comes when we put the xyz.class file of xyz.java file or JAR at the project build path. Delete the .class or JAR file from the project class path and rerun .java file in the debug mode. This time you see a source not found window. Click on "Source not found" button and check "Find duplicates..." at the bottom of the window. Done your problem is solved :)

提交回复
热议问题