RameshMF / spring-boot-tutorial-course

Spring Boot Tutorial | Full Course at https://youtu.be/slTUtTSwRKU
148 stars 241 forks source link

Error starting ApplicationContext #2

Open mrburnwal opened 2 years ago

mrburnwal commented 2 years ago

### Parameter 0 of constructor in tech.burnwall.sms.controller.StudentController required a bean of type 'tech.burnwall.sms.service.StudentService' that could not be found.

I Followed each and every step in tutorial but getting this issue. Please guide me what should be done? Thank You.

sachindgaikwad0 commented 2 years ago

Add a public default constructor in your class.

For example.

public User() { }