Eclipse “this compilation unit is not on the build path of a java project”

前端 未结 24 2967
故里飘歌
故里飘歌 2020-12-08 03:41

I can\'t get autocompletion to work on Eclipse.

I\'m working on the project on svn. I set up project in Eclipse by going into

File -> Import -> Checkout As

24条回答
  •  自闭症患者
    2020-12-08 04:21

    Here the steps for creating a source folder in eclipse.

    1. Right click on the project and go to properties
    2. Select "Java Build Path" from the properties dialog box
    3. Select the source tab and check that the source folders are correct if not click on the remove button to remove source folders, or the add button to add source folders.

    You can control the order in which source folders appear in a project on order and export tab on the configure build path option.

提交回复
热议问题