Eclipse: The resource is not on the build path of a Java project

后端 未结 13 1631
栀梦
栀梦 2020-12-04 17:23

I have been given a Source Folder (src) of a Java Project. I have created a .project file, kept it inside that folder and imported that Project int

13条回答
  •  孤街浪徒
    2020-12-04 18:05

    It means your project isn't on the compilation path of Eclipse.If after the accepted answer problem persists then you need to first place that project in the compilation path. For that you need to import the project again in your workspace, after that it will work fine.

    Similar problem came to me and I did whatever I have told you and it worked for me.

提交回复
热议问题