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

后端 未结 13 1613
栀梦
栀梦 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:55

    You can add the src folder to build path by:

    1. Select Java perspective.
    2. Right click on src folder.
    3. Select Build Path > Use a source folder.

    And you are done. Hope this help.

    EDIT: Refer to the Eclipse documentation

提交回复
热议问题