Answer the question
In order to leave comments, you need to log in
Adding BIRT runtime to spring-boot project dependencies breaks QueryDSL code generation. How to overcome?
Good day.
There is a spring-boot project that uses QueryDSL JPA, and code generation works in it through annotation processing. When added as a birt-runtime project dependency, generation breaks. Details below:
Code generation configuration:
<plugin>
<groupId>com.mysema.maven</groupId>
<artifactId>apt-maven-plugin</artifactId>
<version>1.1.3</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>process</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-apt</artifactId>
<version>${querydsl.version}</version>
</dependency>
</dependencies>
</plugin>
<dependency>
<groupId>org.eclipse.birt.runtime</groupId>
<artifactId>org.eclipse.birt.runtime</artifactId>
<version>4.6.0-20160607</version>
</dependency>
[INFO] --- apt-maven-plugin:1.1.3:process (default) @ project---
error: Could not instantiate an instance of processor 'com.querydsl.apt.jpa.JPAAnnotationProcessor'
1 error
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question