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

No qualifying bean of type 'org.springframework.samples.petclinic.mapper.OwnerMapper' availabl #82

Closed
myounis789 opened this issue Jan 17, 2022 · 4 comments · Fixed by #85
Labels

Comments

@myounis789
Copy link

myounis789 commented Jan 17, 2022

Trying to containerise the application using a docker-compose.yaml file. Although I've been successful with the nginx and frontend services, the backend seems to display the following output:
image

I am using the vscode IDE

@myounis789
Copy link
Author

Sorry that's the visitMapper and VisitRestController

@arey arey added the question label Jan 17, 2022
@arey
Copy link
Member

arey commented Jan 17, 2022

Hi @myounis789 I suppose that your annotation processor is not setup into VS Code. See #65

@myounis789
Copy link
Author

myounis789 commented Jan 17, 2022

Does vscode have annotation processor support? If so, how do I enable it. So far I have added the following into my POM.xml file for the rest API:

<m2e.apt.activation>jdt_apt</m2e.apt.activation>

This was placed in the properties tag as suggested for eclipse IDE but not sure if it's the same for vscode?

@alexandre-touret
Copy link
Contributor

IMO this configuration is only for eclipse

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.

3 participants