Error Annotation Processors must be explicitly declared now

最后都变了- 提交于 2019-12-05 05:56:35

That user's error said this annotation processor was missing auto-value-1.1.jar (com.google.auto.value:auto-value:1.1), and the answer was to add:

annotationProcessor 'com.google.auto.value:auto-value:1.1'

Your error says log4j-core-2.8.jar (org.apache.logging.log4j:log4j-core:2.8) so you thought the answer was to add this?

annotationProcessor 'com.google.auto.value:auto-value:1.1'

You've copied it verbatim! Of course it won't work! Change the annotation processor to the one you're actually using.


Cough cough cough annotationProcessor 'org.apache.logging.log4j:log4j-core:2.8'

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!