如果你的程序以前某一段时刻是好的(没有出现这种情况,一般在打点后弹出该提示),说明应该可以使用本方法解决。
错误提示:cannot access compilation unit
没有仔细研究,应该是盲目优化后的问题。我这样做就解决了。
把以下四项恢复默认(Restore Defaults)即可
1 windows–>perferences–>general–>startup and shutdown
2 windows–>perferences–>MyEclipse–>validation
3 windows–>perferences–>general–>validation->editors->Text Editors->spelling
4 Windows > Preferences > MyEclipse > Community Essentials