Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No processor claimed any of these annotations [SPR-14483] #19052

Closed
spring-projects-issues opened this issue Jul 19, 2016 · 2 comments
Closed
Labels
status: invalid An issue that we don't feel is valid

Comments

@spring-projects-issues
Copy link
Collaborator

Aaron Haskins opened SPR-14483 and commented

Building a Spring Boot maven project with Lombok dependency using -Xlint:all compiler option produces a compiler warning

COMPILATION WARNING : 
-------------------------------------------------------------
No processor claimed any of these annotations: org.springframework.boot.autoconfigure.SpringBootApplication
1 warning

\

-Xlint -enables all recommended warnings, see javac docs for more details.

\

Reproduction steps

  • Create a new Spring Boot 1.4.0 RC1 maven project with Spring Initializr with Lombok dependency
  • Modify the build section of the pom file to include maven compiler flag -Xlint:all
<build>
   <plugins>
      <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>
      <plugin>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-maven-plugin</artifactId>
      </plugin>
   </plugins>
</build>
  • Expect this output
-------------------------------------------------------------
COMPILATION WARNING : 
-------------------------------------------------------------
No processor claimed any of these annotations: org.springframework.boot.autoconfigure.SpringBootApplication
1 warning
-------------------------------------------------------------
-------------------------------------------------------------
COMPILATION ERROR : 
-------------------------------------------------------------
warnings found and -Werror specified
1 error
-------------------------------------------------------------
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------

\

If you remove lombok dependency from the pom file, the project builds successfully.


No further details from SPR-14483

@spring-projects-issues
Copy link
Collaborator Author

Aaron Haskins commented

Might be related to this bug in Lombok.

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

I'm afraid this is the wrong issue tracker. Spring Boot issues need to be reported through GitHub instead: https://github.com/spring-projects/spring-boot/issues

@spring-projects-issues spring-projects-issues added type: bug A general bug status: invalid An issue that we don't feel is valid and removed type: bug A general bug labels Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

1 participant