简体   繁体   English

哪个版本的Grails支持JDK 8?

[英]Which version of Grails support JDK 8?

I am using following configuration for Grails : 我正在使用Grails的以下配置:

  • Grails version 2.4.0 Grails版本2.4.0
  • Maven version 3.2.5 Maven版本3.2.5
  • JDK version 1.8.0_51 JDK版本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. 在我的POM中,我使用grail-gormgrail-gorm grail-crud依赖。 I am not able to get these dependencies from Maven repository. 我无法从Maven存储库获取这些依赖项。 Can you please all suggest me what should I do o that I am able to run Grails on jdk 8? 能不能请所有人建议我该怎么做才能在jdk 8上运行Grails?

Version 1.8.0_40 , 1.8.0_45 and 1.8.0_51 has breaking updates with grails. 版本1.8.0_401.8.0_451.8.0_51的断裂更新使用Grails。

Grails is natively supported in 1.8.0_25 , 1.8.0_31 . Grails是原生支持1.8.0_251.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. 获得兼容的java版本后,只需清理grails项目,正确标记环境变量中的条目然后就可以了。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM