cincheo / jsweet

A Java to JavaScript transpiler.
http://www.jsweet.org
Other
1.45k stars 159 forks source link

Error when first running generate-sources in jsweet-quickstart #705

Closed gregdingle closed 2 years ago

gregdingle commented 2 years ago

I tried to follow http://www.jsweet.org/getting-started/ . I got an error on running mvn generate-sources:

Caused by: org.apache.maven.plugin.PluginExecutionException: Execution generate-js of goal org.jsweet:jsweet-maven-plugin:3.1.0:jsweet failed: An API incompatibility was encountered while executing org.jsweet:jsweet-maven-plugin:3.1.0:jsweet: java.lang.ExceptionInInitializerError: null

I'm not a java programmer so I'm having trouble understanding what this means. Some kind of version incompatibility? I'm running java 11 openjdk on MacOS.

gregdingle commented 2 years ago

Nevermind, I was running java 11 instead of 8 as instructed.