The Class File Viewer cannot handle the given input

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/csdnliuxin123524/article/details/84181693

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

猜你喜欢

转载自blog.csdn.net/csdnliuxin123524/article/details/84181693