spring-petclinic/spring-petclinic-rest

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

myounis789 opened this issue · 4 comments

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

Sorry that's the visitMapper and VisitRestController

arey commented

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

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?

IMO this configuration is only for eclipse