问题 I am trying to refactor some application to use Spring DI instead of plain java and stuck with the issue. Basically i have a class with several constructors: public MyClass() { this(new A()); } public MyClass(A a) { this(a, new B())); } public MyClass(String string) { this(new A(string)); } public MyClass(A a, B b) { this.a = a; this.c = a.getC(); this.b = b; this.d = b.getD(); } public MyClass(A a, B b, D d) { this.a = a; this.c = a.getC(); this.b = b; this.d = d; } These constructors are