kelloggm / checkerframework-gradle-plugin

Gradle plugin to use the Checker Framework for Java
Apache License 2.0
64 stars 15 forks source link

Unable to load annotation processor factory #266

Closed starkos closed 5 months ago

starkos commented 5 months ago

Setting Checker and Gradle for a new project and getting this error from Java Language Server (ie. VS Code & Eclipse):

Unable to load annotation processor factory '/Projects/proto/client/client-core/bin/checkerframework' for project client-core

I can make it go away by turning off annotation processing, but I'm going to need it for Dagger. Anyone seen this before? Any ideas on working around it?

Update: Oh, forgot to mention reproduction steps. I can make it with any project if I add Checker via this plugin and have annotation processing turned on (in VS Code settings, it's at Java > Import > Gradle > Annotation Processing). And now that I'm thinking about it, this may have much more to do with JLS than this plugin. I'm going to just close it until I have more information.