objectionary / eo

EOLANG, an Experimental Pure Object-Oriented Programming Language Based on 𝜑-calculus
https://www.eolang.org
MIT License
1.02k stars 127 forks source link

Java 8 is not supported #3207

Open yegor256 opened 5 months ago

yegor256 commented 5 months ago

Currently, in the CI we only support Java 11+. How about Java 8? Looks like it's still alive. Would be great to support it too.

yegor256 commented 5 months ago

@guangwang126 FYI

github-actions[bot] commented 5 months ago

@yegor256 thanks for the report, here is a feedback:

Problems

I would recommend making the title more specific, such as "CI System Lacks Support for Java 8".

Please fix the bug report in order it to get resolved faster. Analyzed with gpt-4

yegor256 commented 5 months ago

@c71n93 maybe you can try to help?

c71n93 commented 5 months ago

@yegor256 yes, I will try

c71n93 commented 5 months ago

@yegor256 I faced with such problems while trying to use java 8 for build. Both problems are due to the fact that some dependencies are compiled under java 11 (class file version 55), which does not allow to use runtime java 8 (class file version 52).

Here log for error with qulice-maven-plugin (you can see it in this job too):

[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.23.0:check (jcabi-qulice-check) on project eo-parent: Execution jcabi-qulice-check of goal com.qulice:qulice-maven-plugin:0.23.0:check failed: An API incompatibility was encountered while executing com.qulice:qulice-maven-plugin:0.23.0:check: java.lang.UnsupportedClassVersionError: com/puppycrawl/tools/checkstyle/api/CheckstyleException 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
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>com.qulice:qulice-maven-plugin:0.23.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/c71n93/.m2/repository/com/qulice/qulice-maven-plugin/0.23.0/qulice-maven-plugin-0.23.0.jar
[ERROR] urls[1] = file:/Users/c71n93/.m2/repository/org/cactoos/cactoos/0.55.0/cactoos-0.55.0.jar
[ERROR] urls[2] = file:/Users/c71n93/.m2/repository/com/qulice/qulice-spi/0.23.0/qulice-spi-0.23.0.jar
[ERROR] urls[3] = file:/Users/c71n93/.m2/repository/com/qulice/qulice-checkstyle/0.23.0/qulice-checkstyle-0.23.0.jar
[ERROR] urls[4] = file:/Users/c71n93/.m2/repository/com/google/guava/guava/33.2.0-jre/guava-33.2.0-jre.jar
[ERROR] urls[5] = file:/Users/c71n93/.m2/repository/com/google/guava/failureaccess/1.0.2/failureaccess-1.0.2.jar
[ERROR] urls[6] = file:/Users/c71n93/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
[ERROR] urls[7] = file:/Users/c71n93/.m2/repository/org/checkerframework/checker-qual/3.42.0/checker-qual-3.42.0.jar
[ERROR] urls[8] = file:/Users/c71n93/.m2/repository/com/google/errorprone/error_prone_annotations/2.26.1/error_prone_annotations-2.26.1.jar
[ERROR] urls[9] = file:/Users/c71n93/.m2/repository/com/google/j2objc/j2objc-annotations/3.0.0/j2objc-annotations-3.0.0.jar
[ERROR] urls[10] = file:/Users/c71n93/.m2/repository/com/puppycrawl/tools/checkstyle/10.16.0/checkstyle-10.16.0.jar
[ERROR] urls[11] = file:/Users/c71n93/.m2/repository/info/picocli/picocli/4.7.5/picocli-4.7.5.jar
[ERROR] urls[12] = file:/Users/c71n93/.m2/repository/commons-beanutils/commons-beanutils/1.9.4/commons-beanutils-1.9.4.jar
[ERROR] urls[13] = file:/Users/c71n93/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
[ERROR] urls[14] = file:/Users/c71n93/.m2/repository/org/reflections/reflections/0.10.2/reflections-0.10.2.jar
[ERROR] urls[15] = file:/Users/c71n93/.m2/repository/org/javassist/javassist/3.28.0-GA/javassist-3.28.0-GA.jar
[ERROR] urls[16] = file:/Users/c71n93/.m2/repository/org/apache/maven/doxia/doxia-core/1.12.0/doxia-core-1.12.0.jar
[ERROR] urls[17] = file:/Users/c71n93/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.12.0/doxia-logging-api-1.12.0.jar
[ERROR] urls[18] = file:/Users/c71n93/.m2/repository/org/apache/xbean/xbean-reflect/3.7/xbean-reflect-3.7.jar
[ERROR] urls[19] = file:/Users/c71n93/.m2/repository/org/apache/commons/commons-text/1.11.0/commons-text-1.11.0.jar
[ERROR] urls[20] = file:/Users/c71n93/.m2/repository/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar
[ERROR] urls[21] = file:/Users/c71n93/.m2/repository/org/apache/httpcomponents/httpcore/4.4.14/httpcore-4.4.14.jar
[ERROR] urls[22] = file:/Users/c71n93/.m2/repository/org/apache/maven/doxia/doxia-module-xdoc/1.12.0/doxia-module-xdoc-1.12.0.jar
[ERROR] urls[23] = file:/Users/c71n93/.m2/repository/net/sourceforge/saxon/saxon/9.1.0.8/saxon-9.1.0.8.jar
[ERROR] urls[24] = file:/Users/c71n93/.m2/repository/org/apache/maven/reporting/maven-reporting-exec/1.6.0/maven-reporting-exec-1.6.0.jar
[ERROR] urls[25] = file:/Users/c71n93/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.1.0/maven-reporting-api-3.1.0.jar
[ERROR] urls[26] = file:/Users/c71n93/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.11.1/doxia-sink-api-1.11.1.jar
[ERROR] urls[27] = file:/Users/c71n93/.m2/repository/org/sonatype/sisu/sisu-guice/3.2.3/sisu-guice-3.2.3-no_aop.jar
[ERROR] urls[28] = file:/Users/c71n93/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
[ERROR] urls[29] = file:/Users/c71n93/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
[ERROR] urls[30] = file:/Users/c71n93/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[31] = file:/Users/c71n93/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[32] = file:/Users/c71n93/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.3.4/maven-shared-utils-3.3.4.jar
[ERROR] urls[33] = file:/Users/c71n93/.m2/repository/javax/enterprise/cdi-api/1.2/cdi-api-1.2.jar
[ERROR] urls[34] = file:/Users/c71n93/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.5/org.eclipse.sisu.inject-0.3.5.jar
[ERROR] urls[35] = file:/Users/c71n93/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[36] = file:/Users/c71n93/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
[ERROR] urls[37] = file:/Users/c71n93/.m2/repository/com/qulice/qulice-pmd/0.23.0/qulice-pmd-0.23.0.jar
[ERROR] urls[38] = file:/Users/c71n93/.m2/repository/net/sourceforge/pmd/pmd-java/6.55.0/pmd-java-6.55.0.jar
[ERROR] urls[39] = file:/Users/c71n93/.m2/repository/org/ow2/asm/asm/9.7/asm-9.7.jar
[ERROR] urls[40] = file:/Users/c71n93/.m2/repository/net/sourceforge/pmd/pmd-jsp/6.55.0/pmd-jsp-6.55.0.jar
[ERROR] urls[41] = file:/Users/c71n93/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
[ERROR] urls[42] = file:/Users/c71n93/.m2/repository/commons-io/commons-io/2.16.0/commons-io-2.16.0.jar
[ERROR] urls[43] = file:/Users/c71n93/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar
[ERROR] urls[44] = file:/Users/c71n93/.m2/repository/com/jcabi/jcabi-log/0.24.1/jcabi-log-0.24.1.jar
[ERROR] urls[45] = file:/Users/c71n93/.m2/repository/com/jcabi/jcabi-xml/0.29.0/jcabi-xml-0.29.0.jar
[ERROR] urls[46] = file:/Users/c71n93/.m2/repository/com/jcabi/jcabi-maven-slf4j/0.12.2/jcabi-maven-slf4j-0.12.2.jar
[ERROR] urls[47] = file:/Users/c71n93/.m2/repository/org/apache/maven/shared/maven-dependency-analyzer/1.13.2/maven-dependency-analyzer-1.13.2.jar
[ERROR] urls[48] = file:/Users/c71n93/.m2/repository/org/codehaus/plexus/plexus-utils/3.5.1/plexus-utils-3.5.1.jar
[ERROR] urls[49] = file:/Users/c71n93/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.6.0/sisu-inject-bean-2.6.0.jar
[ERROR] urls[50] = file:/Users/c71n93/.m2/repository/org/hibernate/validator/hibernate-validator/8.0.1.Final/hibernate-validator-8.0.1.Final.jar
[ERROR] urls[51] = file:/Users/c71n93/.m2/repository/jakarta/validation/jakarta.validation-api/3.0.2/jakarta.validation-api-3.0.2.jar
[ERROR] urls[52] = file:/Users/c71n93/.m2/repository/org/jboss/logging/jboss-logging/3.4.3.Final/jboss-logging-3.4.3.Final.jar
[ERROR] urls[53] = file:/Users/c71n93/.m2/repository/com/fasterxml/classmate/1.5.1/classmate-1.5.1.jar
[ERROR] urls[54] = file:/Users/c71n93/.m2/repository/net/sourceforge/pmd/pmd-core/6.55.0/pmd-core-6.55.0.jar
[ERROR] urls[55] = file:/Users/c71n93/.m2/repository/org/antlr/antlr4-runtime/4.13.1/antlr4-runtime-4.13.1.jar
[ERROR] urls[56] = file:/Users/c71n93/.m2/repository/com/beust/jcommander/1.48/jcommander-1.48.jar
[ERROR] urls[57] = file:/Users/c71n93/.m2/repository/org/apache/commons/commons-lang3/3.14.0/commons-lang3-3.14.0.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[project>org.eolang:eo-parent:1.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]

And here log for error with antlr4-maven-plugin (it appears if I try to compile without qulice):

[ERROR] Failed to execute goal org.antlr:antlr4-maven-plugin:4.13.1:antlr4 (jcabi-antlr4) on project eo-parser: Execution jcabi-antlr4 of goal org.antlr:antlr4-maven-plugin:4.13.1:antlr4 failed: An API incompatibility was encountered while executing org.antlr:antlr4-maven-plugin:4.13.1:antlr4: java.lang.UnsupportedClassVersionError: 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
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.antlr:antlr4-maven-plugin:4.13.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/c71n93/.m2/repository/org/antlr/antlr4-maven-plugin/4.13.1/antlr4-maven-plugin-4.13.1.jar
[ERROR] urls[1] = file:/Users/c71n93/.m2/repository/org/codehaus/plexus/plexus-compiler-api/2.12.1/plexus-compiler-api-2.12.1.jar
[ERROR] urls[2] = file:/Users/c71n93/.m2/repository/org/codehaus/plexus/plexus-utils/3.4.2/plexus-utils-3.4.2.jar
[ERROR] urls[3] = file:/Users/c71n93/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
[ERROR] urls[4] = file:/Users/c71n93/.m2/repository/org/antlr/antlr4/4.13.1/antlr4-4.13.1.jar
[ERROR] urls[5] = file:/Users/c71n93/.m2/repository/org/antlr/antlr4-runtime/4.13.1/antlr4-runtime-4.13.1.jar
[ERROR] urls[6] = file:/Users/c71n93/.m2/repository/org/antlr/antlr-runtime/3.5.3/antlr-runtime-3.5.3.jar
[ERROR] urls[7] = file:/Users/c71n93/.m2/repository/org/antlr/ST4/4.3.4/ST4-4.3.4.jar
[ERROR] urls[8] = file:/Users/c71n93/.m2/repository/org/abego/treelayout/org.abego.treelayout.core/1.0.3/org.abego.treelayout.core-1.0.3.jar
[ERROR] urls[9] = file:/Users/c71n93/.m2/repository/com/ibm/icu/icu4j/72.1/icu4j-72.1.jar
[ERROR] urls[10] = file:/Users/c71n93/.m2/repository/org/slf4j/slf4j-simple/2.0.0/slf4j-simple-2.0.0.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[project>org.eolang:eo-parent:1.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]

As far as I understand, the only way to build and run eo under java 8 is to downgrade all dependencies to a version where the jar file in maven-central will be compiled under java 8.

For example, for the antlr4-maven-plugin maximum version that was compiled with java 8 is 4.9.3.

@yegor256 The question is: do we really want to downgrade dependencies versions to be able to compile and run under java 8? I couldn't find any other options.

yegor256 commented 5 months ago

@c71n93 maybe we can have so called "conditional" compilation in our pom.xml: an additional profile that is activated when Java version is 8. In this profile, all dependencies will have different versions.

c71n93 commented 5 months ago

@yegor256 yeah, maybe. I will try.

volodya-lombrozo commented 5 months ago

@yegor256 @c71n93 It's important issue for me too. I use print goal to translate xmir files into eo files:

<plugin>
  <groupId>org.eolang</groupId>
  <artifactId>eo-maven-plugin</artifactId>
  <version>0.38.1</version>
  <executions>
    <execution>
      <id>convert-xmir-to-eo</id>
      <phase>process-classes</phase>
      <goals>
        <goal>print</goal>
      </goals>
      <configuration>
        <printSourcesDir>${project.build.directory}/generated-sources/jeo-xmir</printSourcesDir>
        <printOutputDir>${project.build.directory}/generated-sources/jeo-eo</printOutputDir>
      </configuration>
    </execution>
  </executions>
</plugin>

And on Java 8 I get the following error:

[ERROR] Failed to execute goal org.eolang:eo-maven-plugin:0.38.1:print (convert-xmir-to-eo) on project jeo-it: 'org.eolang.maven.PrintMojo@3b2553d9' execution failed: java.io.UncheckedIOException: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer; -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eolang:eo-maven-plugin:0.38.1:print (convert-xmir-to-eo) on project jeo-it: 'org.eolang.maven.PrintMojo@3b2553d9' execution failed
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:904)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:281)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:204)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: org.apache.maven.plugin.MojoFailureException: 'org.eolang.maven.PrintMojo@3b2553d9' execution failed
    at org.eolang.maven.SafeMojo.exitError (SafeMojo.java:391)
    at org.eolang.maven.SafeMojo.execute (SafeMojo.java:292)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:904)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:281)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:204)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: java.util.concurrent.ExecutionException: java.io.UncheckedIOException: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
    at java.util.concurrent.FutureTask.report (FutureTask.java:122)
    at java.util.concurrent.FutureTask.get (FutureTask.java:206)
    at org.eolang.maven.SafeMojo.execWithTimeout (SafeMojo.java:340)
    at org.eolang.maven.SafeMojo.execute (SafeMojo.java:274)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:904)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:281)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:204)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:255)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:201)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:361)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:314)
Caused by: java.io.UncheckedIOException: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:58)
    at org.cactoos.iterator.Mapped$1.next (Mapped.java:68)
    at org.cactoos.iterator.IteratorEnvelope.next (IteratorEnvelope.java:59)
    at org.cactoos.scalar.Folded.value (Folded.java:82)
    at org.cactoos.number.NumberOfScalars.lambda$new$1 (NumberOfScalars.java:68)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.number.NumberOfScalars.intValue (NumberOfScalars.java:93)
    at org.cactoos.number.NumberEnvelope.intValue (NumberEnvelope.java:55)
    at org.eolang.maven.PrintMojo.exec (PrintMojo.java:126)
    at org.eolang.maven.SafeMojo.lambda$execWithTimeout$4 (SafeMojo.java:337)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
    at java.lang.Thread.run (Thread.java:750)
Caused by: java.io.IOException: java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
    at org.cactoos.func.UncheckedFunc.lambda$apply$0 (UncheckedFunc.java:56)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.func.UncheckedFunc.apply (UncheckedFunc.java:57)
    at org.cactoos.scalar.Checked.wrappedException (Checked.java:100)
    at org.cactoos.scalar.Checked.value (Checked.java:85)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.iterator.Mapped$1.next (Mapped.java:68)
    at org.cactoos.iterator.IteratorEnvelope.next (IteratorEnvelope.java:59)
    at org.cactoos.scalar.Folded.value (Folded.java:82)
    at org.cactoos.number.NumberOfScalars.lambda$new$1 (NumberOfScalars.java:68)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.number.NumberOfScalars.intValue (NumberOfScalars.java:93)
    at org.cactoos.number.NumberEnvelope.intValue (NumberEnvelope.java:55)
    at org.eolang.maven.PrintMojo.exec (PrintMojo.java:126)
    at org.eolang.maven.SafeMojo.lambda$execWithTimeout$4 (SafeMojo.java:337)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
    at java.lang.Thread.run (Thread.java:750)
Caused by: java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
    at java.util.concurrent.FutureTask.report (FutureTask.java:122)
    at java.util.concurrent.FutureTask.get (FutureTask.java:192)
    at org.cactoos.scalar.Mapped.lambda$new$0 (Mapped.java:58)
    at org.cactoos.scalar.ScalarEnvelope.value (ScalarEnvelope.java:53)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.iterator.Mapped$1.next (Mapped.java:68)
    at org.cactoos.iterator.IteratorEnvelope.next (IteratorEnvelope.java:59)
    at org.cactoos.scalar.Folded.value (Folded.java:82)
    at org.cactoos.number.NumberOfScalars.lambda$new$1 (NumberOfScalars.java:68)
    at org.cactoos.scalar.Checked.value (Checked.java:76)
    at org.cactoos.scalar.IoChecked.value (IoChecked.java:63)
    at org.cactoos.scalar.Unchecked.value (Unchecked.java:56)
    at org.cactoos.number.NumberOfScalars.intValue (NumberOfScalars.java:93)
    at org.cactoos.number.NumberEnvelope.intValue (NumberEnvelope.java:55)
    at org.eolang.maven.PrintMojo.exec (PrintMojo.java:126)
    at org.eolang.maven.SafeMojo.lambda$execWithTimeout$4 (SafeMojo.java:337)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
    at java.lang.Thread.run (Thread.java:750)
Caused by: java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
    at org.eolang.parser.StUnhex.buffer (StUnhex.java:108)
    at org.eolang.parser.StUnhex.lambda$new$1 (StUnhex.java:68)
    at org.eolang.parser.StXPath.apply (StXPath.java:82)
    at com.yegor256.xsline.StSequence.lambda$apply$4 (StSequence.java:169)
    at com.yegor256.xsline.StLambda.apply (StLambda.java:115)
    at com.yegor256.xsline.StEnvelope.apply (StEnvelope.java:61)
    at com.yegor256.xsline.StEndless.lambda$new$0 (StEndless.java:70)
    at com.yegor256.xsline.StLambda.apply (StLambda.java:115)
    at com.yegor256.xsline.StEnvelope.apply (StEnvelope.java:61)
    at com.yegor256.xsline.StEnvelope.apply (StEnvelope.java:61)
    at com.yegor256.xsline.Xsline.pass (Xsline.java:85)
    at org.eolang.parser.xmir.Xmir$Default.toEO (Xmir.java:108)
    at org.eolang.parser.xmir.XmirSwap.lambda$new$0 (XmirSwap.java:46)
    at org.eolang.parser.xmir.XmirEnvelope.toEO (XmirEnvelope.java:46)
    at org.eolang.parser.xmir.XmirSwap.toEO (XmirSwap.java:30)
    at org.eolang.maven.PrintMojo.lambda$exec$0 (PrintMojo.java:110)
    at org.cactoos.scalar.CallableEnvelope.call (CallableEnvelope.java:53)
    at java.util.concurrent.FutureTask.run (FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
    at java.lang.Thread.run (Thread.java:750)

So, I had to disable this goals for now.

volodya-lombrozo commented 5 months ago

@c71n93 I will get this issue since we need to solve it asap.