I forked a simple spring project from github. When i Run it, It got the following error
Description:
Field userRepository in com.example.demo.service.UserService required a bean of type 'com.example.demo.repository.UserRepository' that could not be found.
Action:
Consider defining a bean of type 'com.example.demo.repository.UserRepository' in your configuration.