主要错误:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 未能配置数据源:未指定“url”属性,也无法配置嵌入式数据源. Error starting ApplicationContext. To display the conditions report re-run your application with '
我拷贝了一个springboot 项目,然后去掉了数据源配置启动报错 : Cannot determine embedded database driver class for database type NONE Action: If you want an embedded database please put a supported one on the classpath. 然后我新建一个项目重新配置(没有配置数据源),启动还是报错这个 加入这个,搞定....项目启动不去加载就好了 参