报错1
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-02-23 10:58:08.218 ERROR 1315 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class

原因:pom.xml文件添加了 [需要配置dataSource数据源的依赖] ,由于我不需要配置数据源,故删除相关依赖

参考博客1: https://blog.csdn.net/qq_40223688/article/details/88191732
参考博客2: https://blog.csdn.net/qq_38423256/article/details/87472968