I am learning groovy and I am trying to initialize my class dynamically with default values for all fields. So how I am proceeding is, I am taking the list of all the proper
View the java docs for java.lang.Boolean
. As you can see in the section Constructor Summary
there's no no-arg constructor (and this is what exception message says) for this class. You must either:
boolean
or String
argumentfalse
Boolean.FALSE
or Boolean.TRUE