title: QueryDSL annotation processor - jpa classifier no longer works
body: <p>My annotation processing has suddenly stopped working. I've made no known changes to my configuration and haven't been able to find any references to the error I'm getting.</p>
  <p>Gradle Version: 7.5.1 <br>
  QueryDSL Version: 5.0.0</p>
  <p>build.gradle:</p>
  <pre><code>implementation &quot;com.querydsl:querydsl-core:${querydslVersion}&quot;
  implementation &quot;com.querydsl:querydsl-jpa:${querydslVersion}&quot;
  implementation &quot;com.querydsl:querydsl-apt:${querydslVersion}&quot;
  ...
  annotationProcessor (&quot;javax.annotation:javax.annotation-api:1.3.2&quot;)
  annotationProcessor (&quot;org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.2.Final&quot;)
  annotationProcessor (&quot;com.querydsl:querydsl-apt:${querydslVersion}&quot;)
  annotationProcessor (&quot;com.querydsl:querydsl-apt:${querydslVersion}:jpa&quot;)
  </code></pre>
  <p>Error:</p>
  <pre><code>* What went wrong:
  Execution failed for task ':compileJava'.
  &gt; Could not resolve all files for configuration ':annotationProcessor'.
     &gt; Could not find querydsl-apt-5.0.0-jpa.jar (com.querydsl:querydsl-apt:5.0.0).
       Searched in the following locations:
           file:/Users/devuser/.m2/repository/com/querydsl/querydsl-apt/5.0.0/querydsl-apt-5.0.0-jpa.jar
  
  </code></pre>
  <p><strong>Found a work around (9/24):</strong></p>
  <p>The version of <em>querydsl-jpa</em> is controlled by my JHipster BOM, which pulls in 5.0.0. But if I specify the 4.4.0 version in my annotation processor it works. So it seems like the behavior changed in 5.0.0, or the classifier needs to be specified in some other way.  But this is how I got it to work again.</p>
  <pre><code>implementation group: 'com.querydsl', name:'querydsl-jpa', version:'+'
  annotationProcessor group: 'com.querydsl', name: 'querydsl-apt', classifier: 'jpa', version: '4.4.0'
  </code></pre>