rowset.jar WAS 5.1 WAS 6.1 中的问题
目前我正在 WAS 5.1 下运行我的应用程序,rowset.jar 工作正常,但是当将服务器升级到 6.1 时,rowset.jar 出现错误,如下所示
java.lang.UnsupportedClassVersionError: (javax/sql/rowset/CachedRowSet) bad main version在offset=6处
有人遇到同样的问题吗,如何解决这个问题我尝试使用不同版本的jar但没有解决,
提前感谢
currently I'm running my application under WAS 5.1 with rowset.jar working fine, but when upgrade server to 6.1, getting error with rowset.jar as below
java.lang.UnsupportedClassVersionError: (javax/sql/rowset/CachedRowSet) bad major version at offset=6
do anyone face the same problem, how to solve this i try to with different version of jar but not solve,
thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该错误表明您尝试使用的 javax/sql/rowset/CachedRowSet 类已编译为 Java 6 字节码。
据我所知,WAS 6.1 使用 Java 5 运行时:
例如,对于 WAS 6.1 JVM:
因此您需要找出为什么使用 Java 6 编译版本的行集,并更改为 Java 5。
同样,就我知道,WAS 6.1 附带了 javax/sql/rowset/CachedRowSet 类,因此您不需要自己捆绑它。
That error indicates that the
javax/sql/rowset/CachedRowSet
class you are trying to use was compiled to Java 6 bytecode.As far as I know, WAS 6.1 uses a Java 5 runtime:
E.g., for WAS 6.1 JVM:
So you need to find out why you are using a Java 6 compiled version of rowset, and change to Java 5.
Again, as far as I know, WAS 6.1 comes with the javax/sql/rowset/CachedRowSet class, so you shouldn't need to bundle it yourself.