Skip to content

Tag: spring-boot

CommandLineRunner overridden run() method not executing

The problem: overridden run() method from CommandLineRunner class is not being executed. Folder structure: Code: Main class: CommandLineRunner class: As it says in the println() method, this is not printing anything, only this startup logs: There are couple existing questions on this topic on Stackoverflow, b…