Error attempting to get column ‘HEADIMAGE‘ from result set. Cause: java.sql.SQLException: 不支持的字符集

一、报错信息

### Error querying database. Cause: org.apache.ibatis.executor.result.ResultMapException: Error attempting to get column 'HEADIMAGE' from result set. Cause: java.sql.SQLException: 不支持的字符集 (在类路径中添加 orai18n.jar): ZHS16GBK

二、解决方法

pom.xml

加入依赖


<!-- https://mvnrepository.com/artifact/cn.easyproject/orai18n -->
<dependency>
    <groupId>cn.easyproject</groupId>
    <artifactId>orai18n</artifactId>
    <version>12.1.0.2.0</version>
</dependency>

猜你喜欢

转载自blog.csdn.net/qq_39208536/article/details/132534342
今日推荐