我在使用mapstruct和不可变函数时遇到了麻烦。annotationProcessor "org.immutables:value:$immutablesVersion" // <--- this is important
compileOnly "org.immutables:value:$immutable
同时,我在我的代码库中使用了Lombok和Mapstruct。 这两个需要额外的注解处理,这必须在ajc生效之前完成。我已经为Lombok和Mapstruct安装了两个插件。(Executables.java:99) at org.mapstruct.ap.internal.model.common.Type.getAllMethods(Type.java:633)at org.mapstruct.ap.internal.model.common.Type.getPropertyReadAccessors(Type