MapStruct Unknown property “xx“ in result type XXX. Did you mean “null“?

2022-05-07 19:30:09 浏览数 (1)

build报错

代码语言:javascript复制
Unknown property "xx" in result type XXX. Did you mean "null"?

解决办法

  • pom.xml
代码语言:javascript复制
<dependency>
    <groupId>org.projectlombok</groupId>
    <artifactId>lombok-mapstruct-binding</artifactId>
    <version>0.2.0</version>
    <scope>provided</scope>
</dependency>
  • 感谢原文:https://www.cnblogs.com/yang37/p/15828722.html

0 人点赞