java.lang.IllegalArgumentException: jdbcUrl is required with driverClassName springboot2.0连接问题记录

java.lang.IllegalArgumentException: jdbcUrl is required with driverClassName.

在使用springboot-mybatis2.0遇到错误

<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.0.0</version>
</dependency>
原先是
url:
driverClassName:

后改为

jdbc-url:
driver-class-name:

2.0参数名好像不支持驼峰式

猜你喜欢

转载自www.cnblogs.com/zhouyb/p/10457052.html