idea使用mapstruct报错,Internal error in the mapping processor
2024-09-08 19:26:49
错误信息如下:
java: Internal error in the mapping processor: java.lang.NullPointerException at org.ma...
修改方式:
升级mapstruct到最新版本,排除swagger2中的依赖。大致如下:
我的环境:idea:2021.02
<mapstruct.version>1.4.2.Final</mapstruct.version>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.5.22</version>
<exclusions>
<exclusion>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct</artifactId>
<version>${mapstruct.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-jdk8</artifactId>
<version>${mapstruct.version}</version>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct.version}</version>
<scope>provided</scope>
</dependency>
最新文章
- 最新JavaScript、Ajax典藏级学习资料下载分类汇总 (2011年12月21日更新)
- charles使用
- 攻城狮在路上(叁)Linux(二十四)--- linux设置开机挂载及镜像文件挂载
- SQL 向上取整、向下取整、四舍五入取整的实例!round、rounddown、roundup
- 3163: [Heoi2013]Eden的新背包问题
- EnyimMemcached扩展 遍历功能
- Pyocr 0.2 发布,Python 的 OCR 库 - 开源中国社区
- LeetCode OJ 35. Search Insert Position
- STM8单片机启动流程彻底探究--基于IAR开发环境
- python来写打飞机
- AsyncTask源码笔记
- SQL 经典语句
- [转]Laravel 数据库实例教程 —— 使用查询构建器实现对数据库的高级查询
- css - Grid网格布局
- An optimizer that trains as fast as Adam and as good as SGD. https://www.luolc.com/publications/ad…
- Mat取行或列
- 国内maven库
- ffmpeg——关于视频压缩
- hdu 4647 Another Graph Game,想到了就是水题了。。
- layer + ajax 弹出框
热门文章
- Zookeeper ZAB协议
- Uri转绝对路径工具类
- MVP模式(转)
- Centos7 安装Seata,注册中心选择nocas
- 记录自己在对订单进行按日期查询时使用的一种查询的方法,这里的orders是订单表,你也可以改成别的什么表对于最终数据不会造成影响,除非你那个表的数据只有几条那样就会出现查不到日期的情况
- 3阶(次)贝塞尔曲线的JavaScript(JS)实现
- 冷冻法快速还原Oracle数据库
- this.$refs 获取的值是undefined
- vue v-for 使用
- Software--BigData--StreamingData