micronaut-examples
micronaut-examples copied to clipboard
Petstore won't build on java 11
I was trying to build the petstore demo, and the comments app throws an error when using JDK 11:
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1 (file:/Users/vinnyc/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy/2.5.1/e9628b90c92dcfc7cfaf2f987a2dd2fdabbb3dd5/groovy-2.5.1.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
I was able to make it work with JDK8, would be nice to put as a requirement or have a fix in place for this.
Thanks @viniciusccarvalho, switching to JDK8 fixed this for me as well.