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

后端 未结 13 1577
栀梦
栀梦 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

    Refactor the name of the folder src/main/resource to src/main/java.

    Right click the project > Build Path > Use Source Folder.

提交回复
热议问题