groovy-eclipse icon indicating copy to clipboard operation
groovy-eclipse copied to clipboard

Using mapstruct and lombok together

Open ImSejin opened this issue 4 years ago • 2 comments

I have made java app that needs DTO mapper with groovy + lombok and introduce mapstruct, but it don't generate mapper impl.

Solving this problem, I find this discussion #874 .

Still not fix the bug?


  • java version: 1.8
  • lombok version: 1.18.12
  • mapstruct version: 1.3.1.Final
  • groovy-eclipse-complier version: 3.6.0-03

ImSejin avatar Jul 30 '20 04:07 ImSejin

Does your codebase use Groovy and Lombok+Mapstruct in the same source tree? There is a two-phase compilation solution when main sources use Lombok+Mapstruct and test sources use Groovy.

eric-milles avatar Jul 30 '20 19:07 eric-milles

In main source, I use lombok, mapstruct and "groovy" too. Is there solution?

ImSejin avatar Jul 31 '20 12:07 ImSejin