No processor claimed any of these annotations: lombok.Data #1117

Closed
aaron-haskins opened this Issue May 23, 2016 · 3 comments

Projects

None yet

2 participants

@aaron-haskins

When building a maven project with -Werror compiler option, the projcet produces a warning:
No processor claimed any of these annotations: lombok.Data
, and then fails with a compilation error:
warnings found and -Werror specified

Maven compiler:

<plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-compiler-plugin</artifactId>
   <configuration>
      <showDeprecation>true</showDeprecation>
      <showWarnings>true</showWarnings>
      <compilerArgs>
         <arg>-Werror</arg>
         <arg>-Xlint:all</arg>           
      </compilerArgs> 
   </configuration>
</plugin>`
@rspilker
Collaborator
rspilker commented Jun 9, 2016

To fix this without breaking lombok, I added a second annotation processor that claims all annotations starting with lombok..

Will be in the next release, but is already available in the edge release.

Can you verify this solves your problem, and that lombok still works?

@rspilker rspilker added the parked label Jun 9, 2016
@aaron-haskins

Yes, it builds successfully with this edge release.
Thank you and looking forward to the next release!

@rspilker rspilker closed this Jun 10, 2016
@aaron-haskins aaron-haskins referenced this issue in spring-projects/spring-boot Jul 19, 2016
Closed

No processor claimed any of these annotations #6421

@aaron-haskins

I believe this fix causes the problem described in No processor claimed any of these annotations #6421 ticket. Should it be re-opened?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment