今天在整合springboot和mybatis时遇到一个问题,
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
搞了好长时间最后发现问题在于配置文件上面。
错误的配置方式:
错误
正确的配置方式:
正确
我也是醉了!要怪就怪自己的编码习惯太差!!!
今天在整合springboot和mybatis时遇到一个问题,
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
搞了好长时间最后发现问题在于配置文件上面。
错误的配置方式:
正确的配置方式:
我也是醉了!要怪就怪自己的编码习惯太差!!!