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
That error indicates that the
javax/sql/rowset/CachedRowSetclass 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.