我是真的裂开了,网上说的大多数方法都试过了,结果居然是配置项名称的问题…
这是原来的配置文件配置
mybatis:
mapper-locations: classpath:mapper/*.xml
type-aliases-package: com.wsl.model.entity
最后是现在的配置
mybatis-plus:
mapper-locations: classpath:mapper/*.xml
type-aliases-package: com.wsl.model.entity
我他喵的居然以为mybatis-plus和mybatis用的配置项名称是一样的!!!