Given an service method:
@Consumes( "application/json" ,"text/json") @Produces( "application/json" , "text/json")
it seems that an additional method findAll$default is generated by compiler , thus causes SEVERE error :
SEVERE: Consuming media type conflict. The resource methods public static Result AService.findAll$default(AService) and public final Result AService.findAll() can consume the same media type.
It’s running with kotlin 0.12.1218 and jersey 0.19.
I don’t know how to resolve it :(