Skip to content

Improve Constructor Resolver Diagnostics [SPR-12543] #16975

Closed
@spring-projects-issues

Description

@spring-projects-issues

Gary Russell opened SPR-12543 and commented

throw new BeanCreationException(mbd.getResourceDescription(), beanName,
		"Could not resolve matching constructor " +
		"(hint: specify index/type/name arguments for simple parameters to avoid type ambiguities)");

It would be helpful if the above exception (in ConstuctorResolver ) included the argument types in argToUse.


Affects: 4.1.3

Issue Links:

Referenced from: commits d55af2b

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions