1、java.sql.SQLException: validateConnection false
数据库连接池的包版本有问题
2、nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named ‘productName’ in ‘class java.lang.String’
在DAO方法中定义的参数 与 实体中定义的属性不一致 导致的。
解决:
在 dao接口的参数中加入 @Param