通过idea生成springboot项目,启动报错:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
我就感觉很奇怪,在linux上运行没有问题,到windows上运行报错,数据库url和port都可以ping通,最后问组长,得知是编码方式问题造成的
微信扫一扫
通过idea生成springboot项目,启动报错:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
我就感觉很奇怪,在linux上运行没有问题,到windows上运行报错,数据库url和port都可以ping通,最后问组长,得知是编码方式问题造成的
相关推荐