hellokoding-courses icon indicating copy to clipboard operation
hellokoding-courses copied to clipboard

Required bean of type ProductMapper

Open lc2a opened this issue 6 years ago • 2 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.

lc2a avatar Feb 23 '19 15:02 lc2a

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

cedriclankeu avatar Mar 27 '19 19:03 cedriclankeu


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.

barenmandal avatar Jan 10 '20 18:01 barenmandal