本文主要介绍执行Spring Boot程序(Spring : 5.0.4, MongoDB : 3.6, Spring Boot: 2.0)报错问题解决方法,异常信息:Failed to auto-configure a DataSource: 'spring.datasource.url' is not specified and no embedded datasource could be auto-configured.
原文地址:Java Spring Boot 2.0 异常 auto-configure a DataSource: 'spring.datasource.url' is not specified