I'm currently using spring-cloud-starter-openfeign with 1.4.4.RELEASE version.

I have annotated my main class with @EnableFeignClients and I have feign clients in multiple packages due to the structuring of the project.

So I tried adding basepackages attribute with multiple packages and I'm getting compile time error.

@EnableFeignClients(basePackages = {"com.abc.proj.services.api.client", "com.abc.pro.console.feign"})

Getting below error:

',' unexpected

0 Answers