sprinboot启动报错

mac2026-03-11  5

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.

因为工程通过maven依赖了一个子工程,子工程里有mybatis内容,

需要在父工程里增加mybastis扫描路径

@SpringBootApplication(scanBasePackages={"com.****"})

@EnableAsync

@MapperScan({"com.****.jdbc"})

最新回复(0)