Multiple annotations found at this line: - No constructor with 0 arguments defined in class
spring的配置xml报错:
提示:Multiple annotations found at this line:
No constructor with 0 arguments defined in class
返回去查看bean里面发现:写了一个有参构造,没有无参构造。
解决:添加一个无参构造即可。
...
原创
2020-03-05 13:48:53 ·
781 阅读 ·
0 评论