org.codehaus.groovy.runtime.metaclass.MethodSelectionException: Could not find which method <init>() to invoke from this list: public java.lang.Boolean#<init>(boolean) public java.lang.Boolean#<init>(java.lang.String)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Ambuj Jauhari
, 1 year ago
Could not find which method <init>() to invoke from this list: public java.lang.Boolean#<init>(boolean) public java.lang.Boolean#<init>(java.lang.String)
via Stack Overflow by 1337GameDev
, 1 year ago
Could not find which method <init>() to invoke from this list: public com.website.UserRole#<init>(org.springsource.loaded.C) public com.website.UserRole#<init>(com.website.User, com.website.Role)
org.codehaus.groovy.runtime.metaclass.MethodSelectionException: Could not find which method <init>() to invoke from this list: public java.lang.Boolean#<init>(boolean) public java.lang.Boolean#<init>(java.lang.String)
at groovy.lang.MetaClassImpl.chooseMethodInternal(MetaClassImpl.java:3160)
at groovy.lang.MetaClassImpl.chooseMethod(MetaClassImpl.java:3097)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1707)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1526)

Users with the same issue

Once, 9 months ago
4 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.