How to use PATCH method in CXF
问题 I am trying to use PATCH method in my client using CXF implementation of JAX-RS. At first I defined the PATCH annotation as @Target({ElementType.METHOD}) @Retention(RetentionPolicy.RUNTIME) @HttpMethod("PATCH") public @interface PATCH { } Referencing what was written here : How to have a @PATCH annotation for JAX-RS? Then I found out @PATCH was added into CXF 3.1.2, so I changed version in my maven's pom.xml and indeed there is public @interface PATCH inside of package org.apache.cxf.jaxrs