spring-boot-tutorial-course icon indicating copy to clipboard operation
spring-boot-tutorial-course copied to clipboard

Error starting ApplicationContext

Open mrburnwal opened this issue 3 years ago • 1 comments
trafficstars

### 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.

mrburnwal avatar Nov 22 '21 10:11 mrburnwal

Add a public default constructor in your class.

For example.

public User() { }

sachindgaikwad0 avatar Jun 11 '22 03:06 sachindgaikwad0