Inspectopedia
 
2024.3

Incorrectly configured @Profile expression

Error
New
Last modified: 03 December 2024

Reports incorrect @Profile expressions:

  • Spring profiles must not be empty

  • '&' and '|' operators must not be mixed without parentheses in Spring profile expressions

Examples: