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

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

    What i did is after importing the project from svn , deleted the project from workspace and imported it as a maven project from local . Then in preferences->maven->usersettings->in usersettings box gave path of settings.xml which will be in apache maven folder-> conf->settings.xml

    and it solved the issue for me.

提交回复
热议问题