The Class File Viewer cannot handle the given input

想查看.class字节码文件,就用eclipse的file-->open file打开文件,但是报出 The Class File Viewer cannot handle the given input这个错,百度一下,说是没有导入工程到工作空间中,我确实也没有导入,直接打开上面文件的。于是就是试试,先把要打开的文件所在的工程导入到现在的eclipse工作空间(也就是import),然后再次打开.class文件就正常显示了。

好的代码像粥一样,都是用时间熬出来的
原文地址:https://www.cnblogs.com/jijm123/p/15432874.html