You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Java 8, Gradle 7.4.2 and ANTLR 4.11.1 to develop. When I run the gradle task generateGrammarSource I got an exception:
Execution failed for task ':generateGrammarSource'.
> org/antlr/v4/Tool has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
That means that ANTLR 4.11.1 on maven central uses Java 11 to build and does not work with Java 8.
I noticed that the project readme is still marked Java 7+, so I guess this might be a build error.
I tried downgrading ANTLR to 4.9.3 and it worked fine with Java 8.
The text was updated successfully, but these errors were encountered:
I am using Java 8, Gradle 7.4.2 and ANTLR 4.11.1 to develop. When I run the gradle task
generateGrammarSource
I got an exception:The build.gradle file:
That means that ANTLR 4.11.1 on maven central uses Java 11 to build and does not work with Java 8.
I noticed that the project readme is still marked Java 7+, so I guess this might be a build error.
I tried downgrading ANTLR to 4.9.3 and it worked fine with Java 8.
The text was updated successfully, but these errors were encountered: