yasuflatland-lf / damascus

⚔️ CRUD boilerplate generator for Liferay DXP
https://yasuflatland-lf.github.io/damascus-doc/
GNU Lesser General Public License v3.0
51 stars 35 forks source link

Error executing damascus create #95

Closed empolesecasual closed 4 years ago

empolesecasual commented 4 years ago

Error executing "damascus create":

Running "gradle buildService" to generate the service based on parsed service.xml
Fail to run task <buildService>
java.lang.IllegalArgumentException: Could not determine java version from '11.0.1'.
        at org.gradle.api.JavaVersion.toVersion(JavaVersion.java:72)
        at org.gradle.api.JavaVersion.current(JavaVersion.java:82)
        at org.gradle.internal.jvm.UnsupportedJavaRuntimeException.javaDeprecationWarning(UnsupportedJavaRuntimeException.java:36)
        at org.gradle.tooling.internal.consumer.ConnectorServices.checkJavaVersion(ConnectorServices.java:59)
        at org.gradle.tooling.internal.consumer.ConnectorServices.createConnector(ConnectorServices.java:37)
        at org.gradle.tooling.GradleConnector.newConnector(GradleConnector.java:85)
        at com.liferay.damascus.cli.common.CommonUtil.runGradle(CommonUtil.java:145)
        at com.liferay.damascus.cli.CreateCommand.execute(CreateCommand.java:104)
        at com.liferay.damascus.cli.Damascus._runCommand(Damascus.java:144)
        at com.liferay.damascus.cli.Damascus.run(Damascus.java:69)
        at com.liferay.damascus.cli.Damascus.main(Damascus.java:32)
yasuflatland-lf commented 4 years ago

Hi @empolesecasual , thank you for being interested in Damascus. Let me confirm, are you trying to use Damascus on JDK 11 environment? Unfortunately, Damascus only supports JDK 8 for now.