解决方法:
(1),找到工程所在的workspace,删除.metadata配置文件。
(2),启动eclipse,重新定位到先前的workspace目录置,重建同名工程(不要删除原来的工程,只要建立时名字一样就行了)。或选择别的位置,将原有的程文件注入到新工程中,记住要勾选”Copy projects into workspace”
 
网上的其它解决办法:
(1),Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced 里的「Select the proposal kinds contained in the 'default' content assist list」把Other Java Proposals钩上即可
(2),Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced 里的「Select the proposal kinds contained in the 'default' content assist list」把Java Proposals钩上即可(注意,适用于eclipse 3.6
 
我的解决方法是删除workspace下的metadata

相关文章:

  • 2022-01-08
  • 2021-04-23
  • 2021-12-19
  • 2021-12-09
  • 2022-12-23
  • 2021-11-04
  • 2021-06-08
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-29
  • 2021-07-25
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2021-04-22
相关资源
相似解决方案