APT doesn't generate when using java 8 lambda expressions in code #2070

augustobreno opened this Issue Dec 20, 2016 · 0 comments


None yet

1 participant


APT maven plugin is not generation Q classes when existing lambda expression in my. The expression is outside @Entity classes, but it still crashes. For example:

If I use the code bellow it doesn't generates::
colaborador.getPermissoes().forEach(permissao -> permissao.setColaborador(colaborador));

If I change to the following, it works:

for (PermissaoAvaliacaoColaborador permissao : colaborador.getPermissoes()) {

I realized that the classes were generated when I run "mvn compile", but it doesn't when integrated with "Eclipse Maven Builder" integration.

I'm using this configuration:

  • Java 8
  • apt-maven-plugin 1.1.3
  • querydsl-apt 4.1.4
  • querydsl-jpa 4.1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment