spring-guides / getting-started-guides

Getting Started Guide template :: The template for new guides and also the place to request them.
https://github.com/spring-guides/getting-started-guides/wiki
Apache License 2.0
521 stars 204 forks source link

Accessing Data with MySQL Not Working #51

Closed dylanzwick closed 7 years ago

dylanzwick commented 7 years ago

I've imported the project directly into Eclipse and have not modified a thing. When I run the project I get the error:


APPLICATION FAILED TO START


Description:

Field userRepository in hello.MainController required a bean of type 'hello.UserRepository' that could not be found.

Action:

Consider defining a bean of type 'hello.UserRepository' in your configuration.

dylanzwick commented 7 years ago

Sorry. I'll move this to the issues for that specific guide.