You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/02/16 14:07:39 UTC

[GitHub] [accumulo] milleruntime edited a comment on pull request #2500: Make build work on Java 17

milleruntime edited a comment on pull request #2500:
URL: https://github.com/apache/accumulo/pull/2500#issuecomment-1041524292


   Using 08:59:11 ~$ java -version
   openjdk version "17.0.1" 2021-10-19
   OpenJDK Runtime Environment (build 17.0.1+12-Ubuntu-120.04)
   OpenJDK 64-Bit Server VM (build 17.0.1+12-Ubuntu-120.04, mixed mode, sharing)
   I am unable to build using maven. I cleaned out my local m2 repository and that didn't help.
   <pre>
   [ERROR] Error executing Maven.
   [ERROR] java.lang.IllegalStateException: Unable to load cache item
   [ERROR] Caused by: Unable to load cache item
   [ERROR] Caused by: Could not initialize class com.google.inject.internal.cglib.core.$MethodWrapper
   </pre>
   Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.google.inject.internal.cglib.core.$MethodWrapper
   
   Update: Looks like Maven 3.8.X is required for java 17.


-- 
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: notifications-unsubscribe@accumulo.apache.org

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