哪个版本的Grails支持JDK 8? [英] Which version of Grails support JDK 8?

查看:435
本文介绍了哪个版本的Grails支持JDK 8?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为Grails使用以下配置:


  • Grails 2.4.0版本

  • Maven版本3.2.5
  • JDK版本1.8.0_51



当我运行服务器时,我得到两个错误。在我的POM中,我使用 grail-gorm grail-crud 依赖关系。我无法从Maven存储库获取这些依赖关系。您能否请所有人都建议我该怎么做?我能够在jdk 8上运行Grails?

解决方案

版本 1.8.0_40 1.8.0_45 1.8.0_51 更新与Grails。
$ b Grails原生支持 1.8.0_25 1.8.0_31

获得兼容的java版本后,只需清理grails项目,正确标记环境变量中的条目,然后就可以了。 / p>

选中此项: java-archive-javase8-2177648.html#jdk-8u25 -oth-JPR


I am using following configuration for Grails :

  • Grails version 2.4.0
  • Maven version 3.2.5
  • JDK version 1.8.0_51

When I run the server, I am getting two errors. In my POM, I am using grail-gorm and grail-crud dependencies. I am not able to get these dependencies from Maven repository. Can you please all suggest me what should I do o that I am able to run Grails on jdk 8?

解决方案

Version 1.8.0_40, 1.8.0_45 and 1.8.0_51 has breaking updates with grails.

Grails is natively supported in 1.8.0_25, 1.8.0_31.

Once you get the compatible java versions, just clean the grails project, mark the entries in the environment variables correctly and then you are good to go.

Check this: java-archive-javase8-2177648.html#jdk-8u25-oth-JPR.

这篇关于哪个版本的Grails支持JDK 8?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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