You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalStateException: Method OverrideParameterizedApi#get(String) not annotated with HTTP method type (ex. GET, POST)
Warnings:
Class OverrideParameterizedApi has no annotations, it may affect contract Default
at feign.Util.checkState(Util.java:121)
at feign.Contract$BaseContract.parseAndValidateMetadata(Contract.java:117)
at feign.Contract$BaseContract.parseAndValidateMetadata(Contract.java:71)
at feign.DeclarativeContract.parseAndValidateMetadata(DeclarativeContract.java:40)
at feign.DefaultContractInheritanceTest.overrideParameterizedApiSupported(DefaultContractInheritanceTest.java:88)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Less important, but all 3 tests in this test unit are failing:
feign.MultipleLoggerTest
Failure is: org.junit.platform.commons.JUnitException: Failed to close extension context
I believe that these 3 failures are because JUL is grabbing file locks, which prevents JUnit from cleaning up it's temp folders under Windows. One solution would be to add a close() method to JavaLogger...
The text was updated successfully, but these errors were encountered:
I'm running Feign Core unit tests on Windows platform, Java SE 21 (OpenJDK) and finding test failures.
These two appear to be actual functional problems:
Both failures look like this:
java.lang.IllegalStateException: Method OverrideParameterizedApi#get(String) not annotated with HTTP method type (ex. GET, POST)
Warnings:
at feign.Util.checkState(Util.java:121)
at feign.Contract$BaseContract.parseAndValidateMetadata(Contract.java:117)
at feign.Contract$BaseContract.parseAndValidateMetadata(Contract.java:71)
at feign.DeclarativeContract.parseAndValidateMetadata(DeclarativeContract.java:40)
at feign.DefaultContractInheritanceTest.overrideParameterizedApiSupported(DefaultContractInheritanceTest.java:88)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Less important, but all 3 tests in this test unit are failing:
Failure is: org.junit.platform.commons.JUnitException: Failed to close extension context
I believe that these 3 failures are because JUL is grabbing file locks, which prevents JUnit from cleaning up it's temp folders under Windows. One solution would be to add a close() method to JavaLogger...
The text was updated successfully, but these errors were encountered: