mapstruct
1.
报错信息:
mapstruct 错误 java.lang.NoSuchMethodError: Ljava/lang/Double 错误
解决方案:
mapstruct 错误 java.lang.NoSuchMethodError: Ljava/lang/Double 错误_mapstruct nosuchmethoderror-CSDN博客
2.
报错信息:
mapstruct 报错 java.lang.ClassNotFoundException: Cannot find implementation for
解决方案:引入依赖
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
<version>1.5.0.Beta1</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>1.5.0.Beta1</version>
</dependency>
Mybatis
1.
报错信息:
Error attempting to get column ‘name‘ from result set,Cannot determine value type from
解决方案:(加无参构造)
记Mybatis的坑,解决Error attempting to get column ‘name‘ from result set,Cannot determine value type from_org.springframework.dao.dataintegrityviolationexce-CSDN博客
2.
报错信息:
解决bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: ORA-00911: 无效字符
解决方案:添加jdbcType
解决bad SQL grammar []; nested exception is java.sql.SQLSyntaxErrorException: ORA-00911: 无效字符-CSDN博客