Fix Eclipse java references database corruption?

前端 未结 8 1361
猫巷女王i
猫巷女王i 2020-12-29 08:17

How do I make eclipse rebuild the database of classes contained within a project or workspace? This is what it uses to make the \"References\" menu action work, what it uses

8条回答
  •  Happy的楠姐
    2020-12-29 08:48

    First exit Eclipse. Next in your workspace directory, delete the .metadata/.plugins/org.eclipse.jdt.core/ directory. Next time you launch Eclipse, it will rebuild all of its internal indexes. Often cleaning of projects doesn't force all of that metadata to be rebuilt.

提交回复
热议问题