Photo by nousnou iwasaki on Unsplash

Spring-boot version <2.2.x

If you are using spring-boot version <2.2.x then use the following Maven dependency in your pom.xml file

version>${spring-boot.version}</version> …

Go to ‘Tools’ menu in Intellij IDEA and click on ‘Create Command-line Launcher…’

Choose a command to add to /user/local/bin. Here I choose idea as command. If you have different versions of Intellij IDEA then it is better to give some suffix to indicate version.

It is possible to use @GetMapping, @PostMapping etc. with methods in Feign client (interface) instead of @RequestMapping and @RequestLine. For this DON’T include the following config in @Configuration file.

public Contract feignContract() {
return new Contract.Default();

Shaun Thomas

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store