当前使用版本(必填,否则不予处理)
3.1.0
该问题是如何引起的?(确定最新版也有问题再提!!!)
进行批量更新插入
重现步骤(如果有就写完整)
报错信息
org.apache.ibatis.exceptions.PersistenceException:
Error updating database. Cause: org.springframework.boot.context.properties.ConfigurationPropertiesBindException: Error creating bean with name 'spring.datasource-org.springframework.boot.autoconfigure.jdbc.DataSourceProperties': Could not bind properties to 'DataSourceProperties' : prefix=spring.datasource, ignoreInvalidFields=false, ignoreUnknownFields=true; nested exception is java.lang.IllegalStateException: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@7bbd0006 has not been refreshed yet
The error may exist in cn/space/dp/algorithm/mapper/AlgModelMapper.java (best guess)
The error may involve cn.space.dp.algorithm.mapper.AlgModelMapper.insert
The error occurred while executing an update
Comment From: nieqiurong
提供一个示例工程
Comment From: nieqiurong
有问题再打开.