spring boot 报错(1)

The content of element type "configuration" must match "(properties?,settings?,typeAliases?,typeHandlers?,objectFactory?...

报错

如图:


百度搜索出来的解决方法是让按照他给的顺序写,但是我的根本没有这么多,然后我试了一下




我之前是注册一个mapper就用一个<mapper></mapper>括起来,改正之后将所有的要注册的mapper用一个括起来就可以了

猜你喜欢

转载自blog.csdn.net/qq_36791000/article/details/81052284
今日推荐