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

前端 未结 24 2973
故里飘歌
故里飘歌 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:26

    I also had this problem after converting my java project into a maven project. I solved it as follows:

    Right click on your project ->Project Facets -> click on Java, then Apply.

提交回复
热议问题