spring配置 no matching editors or conversion strategy found 异常解决方案

来源:互联网 发布:mac 命令行安装apk 编辑:程序博客网 时间:2024/05/21 19:35

spring 配置中遇到该问题,可以通过注入的方式解决,代码如下:

<tx:annotation-driven transaction-manager="myTxManager" proxy-target-class="true"/>


  
总结:Spring注入的是接口,关联的是实现类。 这里注入了实现类,所以报异常了。

原创粉丝点击