spring-guides / gs-rest-service

Building a RESTful Web Service :: Learn how to create a RESTful web service with Spring.

Home Page:https://spring.io/guides/gs/rest-service/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java 9 is not compatible with Gradle 2.13

oleg-sidorov opened this issue · comments

I tried to build the project in "complete" folder using IntelliJ IDEA + JDK 9 + Gradle and encountered the error:

"Could not determine java version from '9.0.4 '"

Then I upgraded Gradle to version 4.4.1 in gradle-wrapper.properties:

distributionUrl=https://services.gradle.org/distributions/gradle-4.4.1-bin.zip

and it helped.

Please update Gradle in the source code.

@jbsf Since we've updated the guide to Gradle 4.6, perhaps you would like to check again.