IntelliJ Idea mapstruct java:映射处理器中的内部错误:java.lang.NullPointerException [英] IntelliJ Idea mapstruct java: Internal error in the mapping processor: java.lang.NullPointerException

查看:378
本文介绍了IntelliJ Idea mapstruct java:映射处理器中的内部错误:java.lang.NullPointerException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到Idea的2020.3版本后,我获得了映射处理器的NullPointerException.如果有人有线索...谢谢!

After upgrading to the version 2020.3 of Idea i get a NullPointerException for the mapping processor. If anybody has a clue... Thank you!

推荐答案

解决方案是将MapStruct更新为1.4.1最终版本或更高版本,

The solution is to update MapStruct to 1.4.1.Final or later version, see this issue for more details.

您还可以在File | File中添加 -Djps.track.ap.dependencies = false .设置(macOS上的首选项)|构建,执行,部署|编译器解决方法是构建进程VM选项.

You can also add -Djps.track.ap.dependencies=false at File | Settings (Preferences on macOS) | Build, Execution, Deployment | Compiler | Build process VM options as a workaround.

这篇关于IntelliJ Idea mapstruct java:映射处理器中的内部错误:java.lang.NullPointerException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆