在bootstrap.properties中设置spring.profiles.active = dev,具体使用是application-dev.properties,是无效的,会报Failed to configure a DataSource: 'url' attribute is not specified。。。错误,找了一天才找到问题所在。需要在application.properties中设置该属性。时间全浪费了,记录一下,也给大家提个醒
在bootstrap.properties中设置spring.profiles.active = dev,具体使用是application-dev.properties,是无效的,会报Failed to configure a DataSource: 'url' attribute is not specified。。。错误,找了一天才找到问题所在。需要在application.properties中设置该属性。时间全浪费了,记录一下,也给大家提个醒