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

后端 未结 13 1581
栀梦
栀梦 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 17:52

    If you imported a project from external source with pom.xml after import, go to Project->Properties->Maven and enable Java EE - This will resolve the error

提交回复
热议问题