level 1
霏霏小雨º
楼主
Eclipse + sts 新建了一个项目,只勾了JDBC,SQL SERVER,WEB Starter

然后等加载,直接启动,配置了application.properties或者application.yml文件
pom文件也把配置文件包含进去了
然后启动就
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
文件结构如下:



求助,不知道为啥。。
话说我每次重开Eclipse打开yml文件就会报这个错,所有我用了application.properties文件。

2019年07月05日 01点07分
1

然后等加载,直接启动,配置了application.properties或者application.yml文件pom文件也把配置文件包含进去了
然后启动就
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine a suitable driver class
文件结构如下:



求助,不知道为啥。。话说我每次重开Eclipse打开yml文件就会报这个错,所有我用了application.properties文件。


