springboot项目启动报错 : mapper[xxxx] is ignored, because it exists, maybe from xml file
原因是在xxxMapper.xml配置文件中,方法出现重复了。
比如
< select id=“listUserForSelect” resultType=“xxx”>
</ select>
< select id=“listUserForSelect” resultType=“xxx”>
</ select>
springboot项目启动报错 : mapper[xxxx] is ignored, because it exists, maybe from xml file
原因是在xxxMapper.xml配置文件中,方法出现重复了。
比如
< select id=“listUserForSelect” resultType=“xxx”>
</ select>
< select id=“listUserForSelect” resultType=“xxx”>
</ select>