hellokoding / hellokoding-courses

HelloKoding provides practical coding guides series of Spring Boot, Java, Algorithms, and other topics on software engineering
https://hellokoding.com
MIT License
707 stars 2.17k forks source link

Required bean of type ProductMapper #1

Open lc2a opened 5 years ago

lc2a commented 5 years ago

Hello :)

I'm getting below error when run the spring boot and \target\generated-sources folder is empty. Kindly advise. Thanks in advance

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 1 of constructor in com.hellokoding.springboot.restful.product.ProductAPI required a bean of type 'com.hellokoding.springboot.restful.product.ProductMapper' that could not be found.

Action:

Consider defining a bean of type 'com.hellokoding.springboot.restful.product.ProductMapper' in your configuration.
cedriclankeu commented 5 years ago

I also have the same error. Please do you know how can I solved it?

barenmandal commented 4 years ago

APPLICATION FAILED TO START


Description:

Parameter 2 of constructor in com.developerbm.serviceimpl.AdminServiceImpl required a bean of type 'com.developerbm.dto.AdminMapper' that could not be found.

The injection point has the following annotations:

Action:

Consider defining a bean of type 'com.developerbm.dto.AdminMapper' in your configuration.