Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.5
-
None
-
None
Description
A sample class:
package test;
public class SomeBean {
private final String[] arguments;
public SomeBean(String[] arguments)
}
And mapping configuration:
something = test.SomeBean
test.SomeBean(java.lang.String[]).parameterNames = arguments
Using:
<myNs:something arguments="#..."/>
causes:
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [test.SomeBean]: No default constructor found; nested exception is java.lang.NoSuchMethodException: test.SomeBean.<init>()