java.lang.IllegalArgumentException: HV000062: Method public com.foo.Outer$Inner(com.foo.Outer,int) has 2 parameters, but the passed list of parameter meta data has a size of 1.

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

java.lang.IllegalArgumentException: HV000062: Method public com.foo.Outer$Inner(com.foo.Outer,int) has 2 parameters, but the passed list of parameter meta data has a size of 1.
at org.hibernate.validator.internal.metadata.raw.ConstrainedExecutable.(ConstrainedExecutable.java:114)
at org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.findExecutableMetaData(AnnotationMetaDataProvider.java:341)
at org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider.getMetaData(AnnotationMetaDataProvider.java:300)

Users with the same issue

You are the first who have seen this exception.

Write tip

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