nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘SqlSessionFactory’ defined in class path resource [applicationContext.xml]: Error setting property values
错误内容
解决方法
导包
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>5.0.5.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.0.5.RELEASE</version>
</dependency>