springboot配置文件不生效(没有绿叶标志),启动出现报错Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource,原因是多模块项目中,父工程打包方式为pom,二级子模块也是pom,但是三级子模块也就是业务模块必须是jar或者war包形式,我错把业务模块打包方式设置成了pom形式
Q.E.D.
No Pain,No Gain~
Coderlluo
·2021-08-25
·
springboot配置文件不生效(没有绿叶标志),启动出现报错Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource,原因是多模块项目中,父工程打包方式为pom,二级子模块也是pom,但是三级子模块也就是业务模块必须是jar或者war包形式,我错把业务模块打包方式设置成了pom形式
Q.E.D.