Required bean of type ProductMapper
lc2a opened this issue · comments
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.
I also have the same error. Please do you know how can I solved it?
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:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type 'com.developerbm.dto.AdminMapper' in your configuration.