ContextMapper / contextmapper.github.io

The ContextMapper Documentation Page
https://contextmapper.org/
MIT License
14 stars 11 forks source link

Does not work with Java 18 #74

Closed premanandc closed 6 months ago

premanandc commented 1 year ago

I get this exception when I try to use the plugin with Java 18 on the path:

com.google.inject.internal.util.$ComputationException: com.google.inject.internal.util.$ComputationException: java.lang.ExceptionInInitializerError

Switching to a Java 11 SDK seems to work.

stefan-ka commented 1 year ago

Thanks for reporting it @premanandc!

I'm actually working on an update that supports newer Java versions... But with the Xtext framework and all the dependencies, this is harder then one might think :) But I'm on it :+1:

stefan-ka commented 1 year ago

Hi @premanandc Today we released v6.7.0 which finally support Java 17: https://contextmapper.org/news/2022/12/02/v6.7.0-released/ We wanted to have 17 support first, as this is the LTS release of Java. So, I haven't tested Java 18 yet, but I could imagine that it also works with our new release? Could you maybe test that? Thanks and best regards, Stefan