This week's book giveaway is in the NodeJS forum. We're giving away four copies of Serverless Applications with Node.js and have Slobodan Stojanovic & Aleksandar Simovic on-line! See this thread for details.
By default, Spring Boot scans for components in the package where your application class is located, or sub-packages. Since com.in28minutes.springboot.web.controller is not a sub-package of com.in28minutes.springboot.web.springbootfirstwebapplication, it is not scanned for components.
I suggest you get rid of the package where your application class is located right now, and move it to com.in28minutes.springboot.web.
posted 3 weeks ago
Hey! Thanks. It works.
Yeah. What he said. Totally. Wait. What? Sorry, I was looking at this tiny ad:
global solutions you can do at home or in your backyard