spring-mybatis整合异常

Failed to read artifact descriptor for XXXXXX:jar:XXXX.RELEAS

原因是maven的本地仓库没有设置好。在别处拷贝过来的项目会有自己的仓库位置设置。我们需要手动在setting-maven中更改位置

There is more than one bean of 'CategoryDao' type.

为idea的一个bug,如果不想要出现这个警告可以用resource注入

猜你喜欢

转载自www.cnblogs.com/thyHome/p/9062315.html
今日推荐