Liquibase不支持的major.minor版本51.0 [英] Liquibase Unsupported major.minor version 51.0

查看:96
本文介绍了Liquibase不支持的major.minor版本51.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在solaris VM上设置Liquibase 3.6.1.
我的JRE是1.6.0_151-b10.
我的Liquibase.properties文件配置如下:

I am attempting to set up Liquibase 3.6.1 on a solaris VM.
My JRE is 1.6.0_151-b10.
My Liquibase.properties file is configured as follows:

driver:oracle.jdbc.OracleDriver  
classpath:/export/home/oracle/Liquibase/lib/OJDBC-Full/ojdbc6.jar  
url:jdbc:oracle:thin:@db:port/instance  
username:uname  
password:pword  

例如,调用"./Liquibase --version"时,出现错误.

When calling "./Liquibase --version" (for example), I get an error.

线程"main"中的异常java.lang.UnsupportedClassVersionError:Liquibase/integration/commandline/Main:不支持的major.minor版本51.0

Exception in thread "main" java.lang.UnsupportedClassVersionError: Liquibase/integration/commandline/Main : Unsupported major.minor version 51.0

我到处寻找与Java版本/Liquibase问题类似问题有关的另一篇文章.我发现最接近的是与"api"与所安装的Java版本(版本,发行版或更新版)不兼容有关的.

I have looked around for another post relating to a similar issue with java version/Liquibase issue. The closest I have found was relating to the "api" not being compatible with the version of java installed (version or release or update).

对于新手的优质帖子,我深表歉意,希望大家能为您提供帮助.

I apologize for the noob quality post, and I hope you folk can help.

推荐答案

Liquibase 3.6.1至少需要Java 1.7. 您可以在此处找到更多有关Java版本的信息.

Liquibase 3.6.1 requires minimally java 1.7. You can find more about java versions here

这篇关于Liquibase不支持的major.minor版本51.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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