SprinfBoot integrates Mybatis resources and the following mapper file becomes popular

Configuration in application.yml 

mybatis-plus:

        mapper-locations:

                classpath:mapper/*.xml

The popularity may also be due to the fact that the git submission does not have these xml files on the remote end. When selecting commit and push, remember to select the xml file.

Guess you like

Origin blog.csdn.net/xy58451921/article/details/132168387