错误信息如下:

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>

  

最新文章

  1. 最新JavaScript、Ajax典藏级学习资料下载分类汇总 (2011年12月21日更新)
  2. charles使用
  3. 攻城狮在路上(叁)Linux(二十四)--- linux设置开机挂载及镜像文件挂载
  4. SQL 向上取整、向下取整、四舍五入取整的实例!round、rounddown、roundup
  5. 3163: [Heoi2013]Eden的新背包问题
  6. EnyimMemcached扩展 遍历功能
  7. Pyocr 0.2 发布,Python 的 OCR 库 - 开源中国社区
  8. LeetCode OJ 35. Search Insert Position
  9. STM8单片机启动流程彻底探究--基于IAR开发环境
  10. python来写打飞机
  11. AsyncTask源码笔记
  12. SQL 经典语句
  13. [转]Laravel 数据库实例教程 —— 使用查询构建器实现对数据库的高级查询
  14. css - Grid网格布局
  15. An optimizer that trains as fast as Adam and as good as SGD. https://www.luolc.com/publications/ad…
  16. Mat取行或列
  17. 国内maven库
  18. ffmpeg——关于视频压缩
  19. hdu 4647 Another Graph Game,想到了就是水题了。。
  20. layer + ajax 弹出框

热门文章

  1. Zookeeper ZAB协议
  2. Uri转绝对路径工具类
  3. MVP模式(转)
  4. Centos7 安装Seata,注册中心选择nocas
  5. 记录自己在对订单进行按日期查询时使用的一种查询的方法,这里的orders是订单表,你也可以改成别的什么表对于最终数据不会造成影响,除非你那个表的数据只有几条那样就会出现查不到日期的情况
  6. 3阶(次)贝塞尔曲线的JavaScript(JS)实现
  7. 冷冻法快速还原Oracle数据库
  8. this.$refs 获取的值是undefined
  9. vue v-for 使用
  10. Software--BigData--StreamingData