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

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

    in my case it's a maven project

    delete the project from eclipse leaving the sources close eclipse delete from filesystem

    .target/ .classpath .project .settings/ open eclipse Again Import Maven Projects

    This solved the problem

提交回复
热议问题