类文件中的错误版本 [英] bad version in class file

查看:121
本文介绍了类文件中的错误版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在其中一个连接器项目中使用某些jar时,我在TeamWorks eclipse中为lombardi编写了一个错误的类版本异常......

When I use certain jars in one of the connector projects i write for lombardi in TeamWorks eclipse i get a bad class version exception...

任何想法如何可能会被解决..

any ideas how this might be resolved..

问候,
Adhir

Regards, Adhir

推荐答案

<如果您使用(比如说)Java 1.5并且使用的是使用Java 1.6编译的JAR,则会出现此错误。

You will get this error if you are using (say) Java 1.5 and you are using a JAR compiled with Java 1.6.

最简单的解决方法是升级你的Java版本是JAR使用的版本。

The easiest way to resolve is to upgrade your version of Java to the one used by the JAR.

这篇关于类文件中的错误版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆