通过idea生成springboot项目,启动报错:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
我就感觉很奇怪,在linux上运行没有问题,到windows上运行报错,数据库url和port都可以ping通,最后问组长,得知是编码方式问题造成的
java -jar启动报数据库url找不到
阅读 14
2021-10-09
通过idea生成springboot项目,启动报错:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
我就感觉很奇怪,在linux上运行没有问题,到windows上运行报错,数据库url和port都可以ping通,最后问组长,得知是编码方式问题造成的
相关推荐
精彩评论(0)