kenliao94 commented on PR #1418: URL: https://github.com/apache/activemq/pull/1418#issuecomment-2767787008
``` [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.1.0:run (default-cli) on project activemq-client: An Ant BuildException has occured: java.lang.UnsupportedClassVersionError: org/apache/activemq/openwire/tool/JavaGeneratorTask has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0 [ERROR] around Ant part ...<taskdef classname="org.apache.activemq.openwire.tool.JavaGeneratorTask" name="generate" classpathref="maven.compile.classpath" />... @ 5:135 in /Users/qrl/amzn/personal_workspace/activemq/activemq-client/target/antrun/build-main.xml [ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.1.0:run (default-cli) on project activemq-client: An Ant BuildException has occured: java.lang.UnsupportedClassVersionError: org/apache/activemq/openwire/tool/JavaGeneratorTask has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0 around Ant part ...<taskdef classname="org.apache.activemq.openwire.tool.JavaGeneratorTask" name="generate" classpathref="maven.compile.classpath" />... @ 5:135 in /Users/qrl/amzn/personal_workspace/activemq/activemq-client/target/antrun/build-main.xml at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:375) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) ``` Hey @jbonofre it might be due to my local environment but since I configured Java 17 to work on `main` branch. I seem to can't get rid of this error. I tried to use mvn cli and configured the java_home to point to java 8 and it showed me this error. Do I need to be 5.16 branch and configure java 8 to generate? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact