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

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

    I did copy the .classpath and .project from another project and adjusted the values properly.

    Close the project before editing those files, when you are sure they reflect the reality (your reality anyway), re-open the project in Eclipse.

    The workspace is rebuilt and all should work from then on.

提交回复
热议问题