Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on start: bean of type 'org.springframework.samples.petclinic.mapper.OwnerMapper' that could not be found. #65

Closed
manojkumarbehera opened this issue Dec 16, 2021 · 2 comments · Fixed by #85
Labels

Comments

@manojkumarbehera
Copy link

Getting this error on start the boot class
Parameter 1 of constructor in org.springframework.samples.petclinic.rest.OwnerRestController required a bean of type 'org.springframework.samples.petclinic.mapper.OwnerMapper' that could not be found.

@arey arey added the question label Dec 28, 2021
@arey
Copy link
Member

arey commented Dec 28, 2021

Hi @manojkumarbehera. How did you start the application? With the mvn spring-boot:run command line or from your IDE?
In your IDE, the mapstruct-processor annotation processor should be enable.

@arey
Copy link
Member

arey commented Jan 17, 2022

Do you have any feedback @manojkumarbehera ?

@arey arey closed this as completed in #85 Mar 22, 2022
haraldreingruber-dedalus pushed a commit to haraldreingruber-dedalus/spring-keycloak-angular-exercise that referenced this issue Sep 22, 2022
…ot/npm_and_yarn/path-parse-1.0.7

Bump path-parse from 1.0.6 to 1.0.7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants