mvn -Pnoparams -Dtest=UnnamedPathVariableTest test (maven-compiler-plugin false) Caused by: java.lang.IllegalStateException: PathVariable annotation was empty on param 0. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.ankurm.feign.client.UnnamedPathVariableClient': FactoryBean threw exception on object creation Tests run: 1, Failures: 0, Errors: 1, Skipped: 0 Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.498 s <<< FAILURE! -- in com.ankurm.feign.UnnamedPathVariableTest