spring的配置xml报错: 提示:Multiple annotations found at this line: No constructor with 0 arguments defined in class 返回去查看bean里面发现:写了一个有参构造,没有无参构造。 解决:添加一个无参构造即可。