Unique XML-specified constructor not accepted in case of unresolvable name [SPR-13987] #18559
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Thibault Kruse opened SPR-13987 and commented
To reproduce:
fails with:
Class ScheduledThreadPoolExecutor has only one 1-arg constructor:
public ScheduledThreadPoolExecutor(int corePoolSize)
If not a bug, I would suggest improving the error message and the documentation in spring-beans.xsd.
Also see one of the comments here from 2013:
http://stackoverflow.com/questions/17387544/unsatisfied-dependency-expressed-through-constructor-argument-with-index-0-of-ty
Affects: 4.2.4
Issue Links:
The text was updated successfully, but these errors were encountered: