Could not initialize class com.google.inject.internal.cglib.core.$MethodWrapper

[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


我是把JDK升级到17后出现的这种情况,在debian社区看到有人报告过这个问题。

升级你的maven到最新就好了。

 

解决办法:

升级maven

0 0