Inspectopedia
 
2024.3

Invalid Spring Boot application setup

Error
New
Last modified: 03 December 2024

Reports @SpringBootApplication in the default package and redundant @EnableAutoConfiguration or @ComponentScan annotations.

The quick-fix removes the redundant annotations.

Example:

After the quick-fix is applied:

New in 2018.2