The issue confusing but seems play's version not going to fix this issue soon, this is because a new feature added in ebean version 11.19.1 releases of it is here: https://github.com/ebean-orm/ebean/releases/tag/ebean-11.19.1
Full details and discussion with play team done in 2 tickets:
playframework#166
And
playframework/playframework#8879
Also, you may try to use this branch to reproduce: https://github.com/almothafar/play-with-mapstruct/tree/play-2.6.x-payintech