idea创建spring boot基本分为两种办法:
问题一:java.lang.NoClassDefFoundError: ch/qos/logback/core/spi/LifeCycle
问题二:Failed to configure a DataSource: 'url' attribute is not specified and no embedde
在Application.java中添加@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)即可。