Could not autowire
Could not autowire. No beans of 'UserMapper' type found,添加
@MapperScan("com.iommc.mybatisplus.mapper") 路徑慕的錯
Could not autowire. No beans of 'UserMapper' type found,添加
@MapperScan("com.iommc.mybatisplus.mapper") 路徑慕的錯
2021-03-25
舉報
2021-03-25
你這個測試類的包名,是什么,可以跟你的啟動類的包相同試試。
2021-12-04
我也遇到同樣的問題?這個問題你是怎么解決的??
2021-03-25
路徑沒錯啊