There is no problem to build the project from the command line. This error occurs not during building but while loading the project into netbeans.
My environment: Mac OSX 10.13.4 gradle 4.3.1 grails 3.3.1 jdk 9.0.4 netbeans 9 release 268 on 20180411 > Am 17.04.2018 um 01:21 schrieb Thomas Kazakoff <thomaskazak...@gmail.com>: > > Possibly, but we don't know much about your setup environment. > > To eliminate possibilities, could you try building your project via the > terminal only, and detail your system for us. > > Thanks > > On Tue, Apr 17, 2018 at 2:10 AM, Matthias Barmeier <barme...@barmeier.com > <mailto:barme...@barmeier.com>> wrote: > Hi, > > I have set platform for the project and the subproject to jdk1.8 shouldn’t it > work when I set the platform to jdk1.8 ? > > Is this a bug in the grails plugin ? > > Ciao > Matze > >> Am 16.04.2018 um 09:22 schrieb Thomas Kazakoff <thomaskazak...@gmail.com >> <mailto:thomaskazak...@gmail.com>>: >> >> >> "Grails 3.3.2 does not support Java 9", but "you can compile with jdk8 and >> run in jdk9/10" >> >> (source: >> https://stackoverflow.com/questions/48745436/grails-3-2-3-is-incompatible-with-jdk-9 >> >> <https://stackoverflow.com/questions/48745436/grails-3-2-3-is-incompatible-with-jdk-9>) >> >> In other words, the error has nothing to do with NetBeans. >> >> On Mon, Apr 16, 2018 at 4:18 PM, Matthias Barmeier <barme...@barmeier.com >> <mailto:barme...@barmeier.com>> wrote: >> Hi all, >> >> I have created a Gradle project with grails 3. The I try to load it i get >> this exception: >> >> Stack trace: >> org.gradle.tooling.GradleConnectionException: Could not create an >> instance of Tooling API implementation using the specified Gradle >> distribution 'https://services.gradle.org/distributions/gradle-3.4.1-bin.zip >> <https://services.gradle.org/distributions/gradle-3.4.1-bin.zip>'. >> at org.gradle.tooling.internal.co >> <http://org.gradle.tooling.internal.co/>nsumer.loader.DefaultToolingImplementationLoader.create(DefaultToolingImplementationLoader.java:110) >> at org.gradle.tooling.internal.co >> <http://org.gradle.tooling.internal.co/>nsumer.loader.CachingToolingImplementationLoader.create(CachingToolingImplementationLoader.java:44) >> …. >> Caused by: java.lang.IllegalArgumentException: Could not determine java >> version from '9.0.4'. >> at org.gradle.api.JavaVersion.toVersion(JavaVersion.java:70) >> at org.gradle.api.JavaVersion.current(JavaVersion.java:80) >> at >> org.gradle.internal.jvm.UnsupportedJavaRuntimeException.assertUsingVersion(UnsupportedJavaRuntimeException.java:29) >> >> What means Could not determine java version from ‚9.0.4‘ isn’t netbeans 9 >> for Java 9 ? >> >> Ciao >> Matze >> > >
smime.p7s
Description: S/MIME cryptographic signature