To demonstrate the issue described in spring-projects/spring-framework#28209
Run mvn clean spring-boot:run
- application fails to start up, with errors.
- Switch ExampleInterface from using the lambda
- Run
mvn clean spring-boot:run
command as above - application starts up properly.