转载连接:http://blog.csdn.net/v123411739/article/details/48518405
问题: 在eclipse里使用ctr+shift+t打开一个类的时候,出现错误:Class file name must end with .class
解决办法:
- 关闭Eclipse
- 删除 workspace/.metadata/.plugins/org.eclipse.jdt.core/*.index
- 删除 workspace/.metadata/.plugins/org.eclipse.jdt.core/savedIndexNames.txt
- 重启 Eclipse