querydsl / apt-maven-plugin

Maven APT plugin
Apache License 2.0
79 stars 41 forks source link

javax/inject/Inject NoClassDefFoundError for querydsl 5.0.0 #62

Open zqr95518 opened 3 years ago

zqr95518 commented 3 years ago

Querydsl 5.0.0 remove dependency of javax-inject.

jwgmeligmeyling commented 3 years ago

Querydsl doesn't need dependency injection, so there is no dependency on javax-inject. If your application uses dependency injection however, you need to declare the dependency yourself.

zqr95518 commented 3 years ago

hey,I mean the plugin need update. Did the plugin it self need inject?

jwgmeligmeyling commented 3 years ago

The plugin needs it yeah, it should be a compile scope dependency there.