Tag: Bad version预览模式: 普通 | 列表
08-11
11

Bad version number in .class file

为了测试各种格式的证书读取操作,我写了个很简单的Test类,结果却出现如下错误:
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)

查看更多...

Tags: Bad version number in class

分类:学习 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 633