warning: No processor claimed any of these annotations: com.google.auto.value.AutoValue

601 views
Skip to first unread message

Ming Zhao

unread,
Jul 26, 2016, 2:48:22 PM7/26/16
to bazel-...@googlegroups.com
Hi,

I'm trying to build some java code that uses @AutoValue annotation,
and I have used exported_plugin to export the relevant annotation
processors, and I believe the processing is working because the
generated classes are there. But I'm annoyed to see these warnings
emitted by bazel:

____From Building codelab/java/autovalue/libanimal.jar (1 source file):
warning: No processor claimed any of these annotations:
com.google.auto.value.AutoValue
warning: No processor claimed any of these annotations:
javax.annotation.Generated
2 warnings

Did I miss anything?

Thanks!

Liam Miller-Cushon

unread,
Jul 27, 2016, 1:30:51 AM7/27/16
to bazel-discuss
That's a javac warning, but it should be disabled by default. Are you using `-Xlint:processing` anywhere?
Reply all
Reply to author
Forward
0 new messages