在本项目中完全没有涉及到任何有关数据库的内容,报错原因是为can not find suitable driver:

后在@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)添加括号内内容即可

相关文章: