You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.NoSuchMethodError: No static method metafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; in class Ljava/lang/invoke/LambdaMetafactory; or its super classes (declaration of 'java.lang.invoke.LambdaMetafactory' appears in /apex/com.android.runtime/javalib/core-oj.jar)
The error originates from my source at a point where i use a lambda expression. I understand it's some kind of failed desugaring or similar?
Checking around, i've seen this solution that basically just tells to enable java 1.8 like this:
hi there, i have the following error:
java.lang.NoSuchMethodError: No static method metafactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; in class Ljava/lang/invoke/LambdaMetafactory; or its super classes (declaration of 'java.lang.invoke.LambdaMetafactory' appears in /apex/com.android.runtime/javalib/core-oj.jar)
The error originates from my source at a point where i use a lambda expression. I understand it's some kind of failed desugaring or similar?
Checking around, i've seen this solution that basically just tells to enable java 1.8 like this:
I've added the following to my pom to try to mimic the directive:
But it still doesn't work. (btw i'm understanding that 1.8 is the default?)
Do you have any suggestion on what i'm doing wrong or how to fix ?
My plugin config is like this:
The text was updated successfully, but these errors were encountered: