报错信息如下

java: No implementation was created for AdminUserConverter due to having a problem in the erroneous element java.util.ArrayList. 
Hint: this often means that some other annotation processor was supposed to process the erroneous element. You can also enable 
MapStruct verbose mode by setting -Amapstruct.verbose=true as a compilation argument
出现原因

新版本idea所使用的java compilier编译器,lombok用不来, 得是 javac

解决

需要在idea编译器中禁用新版不的编译器,这样就能解决问题
如下图,在编译器位置加入这句话: -Djps.track.ap.dependencies=false
在这里插入图片描述

Logo

一站式 AI 云服务平台

更多推荐