You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
NoClassDefFoundError in IntelliJ because AutoService has class retention #1032
Can we change AutoService's retention back to source? Alternatively, can we change AutoValue's dependency on AutoService to have the normal compile scope instead of provided?
We also faced the same issue and had to set the annotation processor in Intellij to obtain processors from the project classpath whenever we want to run or debug.
Activity
cpovirk commentedon Mar 25, 2021
I am always happy to see annotation deps promoted from
providedtocompile:)Our dependency on
auto-service...auto/value/processor/pom.xml
Line 53 in 0b4fd6a
...may well just predate our current advice to use
annotationProcessorPathsplus a dep onauto-service-annotations. (Maybeauto-service-annotationsdidn't even exist as a separate package back then?)imtdeepak commentedon Mar 25, 2021
We also faced the same issue and had to set the annotation processor in Intellij to obtain processors from the project classpath whenever we want to run or debug.
When building AutoValue, pick up AutoService via `<annotationProcesso…
When building AutoValue, pick up AutoService via `<annotationProcesso…
When building AutoValue, pick up AutoService via `<annotationProcesso…