dagger-plugin
dagger-plugin copied to clipboard
Getting "Dagger does not support injection into private fields" when Dagger is not in the classpath
I have the Dagger plugin installed in IntelliJ, for projects which use Dagger.
I have another project which uses Spring. In one of my files, which uses Spring injection, using the javax.inject.Inject
annotation, IntelliJ gives the following error on all private
fields which are annotated with @Inject
.
Dagger does not support injection into private fields
When Dagger is on in the classpath, then the Dagger plugin should not be active.
Will be fixing this in the next update. Which version of the plugin are you using?