Eclipse autocomplete not working in some Java files

前端 未结 8 1607
深忆病人
深忆病人 2020-12-25 11:02

I have noticed that autocomplete is not working in some of java files in Eclipse. Also, the files where autocomplete is not working, display a hollow \"J\" as the icon for t

8条回答
  •  余生分开走
    2020-12-25 11:47

    Make sure you have the right directory structure. I believe that:

    • Hollow J icon beside Java file - will not be build
    • Normal J icon beside Java file - is a file to be build.

    I made a mistake when I created webapp artefact. By default it does not create folder for Java, but for resources. I mistakenly put my sources there. Have a look - see the difference.

提交回复
热议问题