java.lang.UnsupportedClassVersionError: Bad version number in .class file?

后端 未结 10 709
逝去的感伤
逝去的感伤 2020-11-22 12:56

I am getting this error when I include an opensource library that I had to compile from source. Now, all the suggestions on the web indicate that the code was compiled in o

10条回答
  •  礼貌的吻别
    2020-11-22 13:45

    Another scenario where this could happen is when you are launching an instance of eclipse (for debug etc.) from a host eclipse - in which case, altering the project's level or JRE library on the project's classpath alone doesn't help. What matters is the JRE used to launch the target eclipse environment.

提交回复
热议问题