dlg99 opened a new issue, #4189:
URL: https://github.com/apache/bookkeeper/issues/4189

   **BUG REPORT**
   
   ***Describe the bug***
   
   BK build fails with jdk 21 (LTS)
   
   ***To Reproduce***
   
   Steps to reproduce the behavior:
   
   `mvn clean install` with jdk 21:
   
   build fails with `circe-checksum: Fatal error compiling: 
java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does 
not have member field 'com.sun.tools.javac.tree.JCTree qualid'`
   
   ***Expected behavior***
   
   build succeeds
   
   ***Additional context***
   
   ```
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (default-compile) 
on project circe-checksum: Fatal error compiling: java.lang.NoSuchFieldError: 
Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 
'com.sun.tools.javac.tree.JCTree qualid' -> [Help 1]
   [ERROR]
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR]
   [ERROR] For more information about the errors and possible solutions, please 
read the following articles:
   [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   [ERROR]
   [ERROR] After correcting the problems, you can resume the build with the 
command
   [ERROR]   mvn <args> -rf :circe-checksum
   
   $ java -version
   java version "21.0.1" 2023-10-17 LTS
   Java(TM) SE Runtime Environment (build 21.0.1+12-LTS-29)
   Java HotSpot(TM) 64-Bit Server VM (build 21.0.1+12-LTS-29, mixed mode, 
sharing)
   ```


-- 
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: commits-unsubscr...@bookkeeper.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to