Bug#980467: maven: Fails to run with OpenJDK 16 (Unable to load cache item)
Emmanuel Bourg
ebourg at apache.org
Tue Jan 19 13:52:40 GMT 2021
Package: maven
Version: 3.6.3-1
Severity: important
maven/3.6.3-1 fails to run with OpenJDK 16, the following error is displayed:
[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
Replacing the guice symlink is /usr/share/maven/lib with the guice-4.2.1-no_aop.jar library
from the upstream distribution solves the issue.
More information about the pkg-java-maintainers
mailing list