08-Nov-2017 16:27:51.849 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.loadOnStartup Servlet [org.camunda.bpm.spring.boot.starter.rest.CamundaJerseyResourceConfig] in web application [/camunda-bpm-spring-boot-starter-example-war-0.0.1-SNAPSHOT] threw load() exception org.glassfish.jersey.server.model.ModelValidationException: Validation of the application resource model has failed during application initialization. [[FATAL] Both resources, resource Builder{names=[[unnamed], [unnamed]], path='/{id}', methodBuilders=[], childResourceBuilders=[], childResources=[], resourceMethods=[], subResourceLocator=httpMethod=null, consumedTypes=[], producedTypes=[], suspended=false, suspendTimeout=0, suspendTimeoutUnit=MILLISECONDS, invocable=Invocable{handler=ClassBasedMethodHandler{handlerClass=interface org.camunda.bpm.engine.rest.history.HistoricDetailRestService, handlerConstructors=[]}, definitionMethod=public abstract org.camunda.bpm.engine.rest.sub.history.HistoricDetailResource org.camunda.bpm.engine.rest.history.HistoricDetailRestService.historicDetail(java.lang.String), parameters=[Parameter [type=class java.lang.String, source=id, defaultValue=null]], responseType=interface org.camunda.bpm.engine.rest.sub.history.HistoricDetailResource}, nameBindings=[], handlerClasses=[interface org.camunda.bpm.engine.rest.history.HistoricDetailRestService], handlerInstances=[], parentResource=, extended=false} and resource Resource{"/{id}", 0 child resources, 0 resource methods, 1 sub-resource locator, 1 method handler classes, 0 method handler instances}, contains sub resource locators on the same path /{id}.; source='org.glassfish.jersey.server.model.Resource$Builder$1@7a88becd', [FATAL] A resource model has ambiguous (sub-)resource method for HTTP method POST and input mime-types as defined by"@Consumes" and "@Produces" annotations at Java methods public abstract java.util.List org.camunda.bpm.engine.rest.history.HistoricTaskInstanceRestService.queryHistoricTaskInstances(org.camunda.bpm.engine.rest.dto.history.HistoricTaskInstanceQueryDto,java.lang.Integer,java.lang.Integer) and public abstract java.util.List org.camunda.bpm.engine.rest.history.HistoricVariableInstanceRestService.queryHistoricVariableInstances(org.camunda.bpm.engine.rest.dto.history.HistoricVariableInstanceQueryDto,java.lang.Integer,java.lang.Integer,boolean) at matching regular expression /variable\-instance. These two methods produces and consumes exactly the same mime-types and therefore their invocation as a resource methods will always fail.; source='org.glassfish.jersey.server.model.RuntimeResource@4b4c1441', [FATAL] A resource model has ambiguous (sub-)resource method for HTTP method GET and input mime-types as defined by"@Consumes" and "@Produces" annotations at Java methods public abstract java.util.List org.camunda.bpm.engine.rest.history.HistoricTaskInstanceRestService.getHistoricTaskInstances(javax.ws.rs.core.UriInfo,java.lang.Integer,java.lang.Integer) and public abstract java.util.List org.camunda.bpm.engine.rest.history.HistoricDetailRestService.getHistoricDetails(javax.ws.rs.core.UriInfo,java.lang.Integer,java.lang.Integer,boolean) at matching regular expression /variable\-instance. These two methods produces and consumes exactly the same mime-types and therefore their invocation as a resource methods will always fail.; source='org.glassfish.jersey.server.model.RuntimeResource@4b4c1441', [FATAL] A resource model has ambiguous (sub-)resource method for HTTP method GET and input mime-types as defined by"@Consumes" and "@Produces" annotations at Java methods public abstract java.util.List org.camunda.bpm.engine.rest.history.HistoricTaskInstanceRestService.getHistoricTaskInstances(javax.ws.rs.core.UriInfo,java.lang.Integer,java.lang.Integer) and public abstract java.util.List org.camunda.bpm.engine.rest.history.HistoricVariableInstanceRestService.getHistoricVariableInstances(javax.ws.rs.core.UriInfo,java.lang.Integer,java.lang.Integer,boolean) at matching regular expression /variable\-instance. These two methods produces and consumes exactly the same mime-types and therefore their invocation as a resource methods will always fail.; source='org.glassfish.jersey.server.model.RuntimeResource@4b4c1441', [FATAL] A resource model has ambiguous (sub-)resource method for HTTP method GET and input mime-types as defined by"@Consumes" and "@Produces" annotations at Java methods public abstract java.util.List org.camunda.bpm.engine.rest.history.HistoricDetailRestService.getHistoricDetails(javax.ws.rs.core.UriInfo,java.lang.Integer,java.lang.Integer,boolean) and public abstract java.util.List org.camunda.bpm.engine.rest.history.HistoricVariableInstanceRestService.getHistoricVariableInstances(javax.ws.rs.core.UriInfo,java.lang.Integer,java.lang.Integer,boolean) at matching regular expression /variable\-instance. These two methods produces and consumes exactly the same mime-types and therefore their invocation as a resource methods will always fail.; source='org.glassfish.jersey.server.model.RuntimeResource@4b4c1441', [FATAL] A resource model has ambiguous (sub-)resource method for HTTP method GET and input mime-types as defined by"@Consumes" and "@Produces" annotations at Java methods public abstract org.camunda.bpm.engine.rest.dto.CountResultDto org.camunda.bpm.engine.rest.history.HistoricTaskInstanceRestService.getHistoricTaskInstancesCount(javax.ws.rs.core.UriInfo) and public abstract org.camunda.bpm.engine.rest.dto.CountResultDto org.camunda.bpm.engine.rest.history.HistoricDetailRestService.getHistoricDetailsCount(javax.ws.rs.core.UriInfo) at matching regular expression /count. These two methods produces and consumes exactly the same mime-types and therefore their invocation as a resource methods will always fail.; source='org.glassfish.jersey.server.model.RuntimeResource@61f8b398', [FATAL] A resource model has ambiguous (sub-)resource method for HTTP method GET and input mime-types as defined by"@Consumes" and "@Produces" annotations at Java methods public abstract org.camunda.bpm.engine.rest.dto.CountResultDto org.camunda.bpm.engine.rest.history.HistoricTaskInstanceRestService.getHistoricTaskInstancesCount(javax.ws.rs.core.UriInfo) and public abstract org.camunda.bpm.engine.rest.dto.CountResultDto org.camunda.bpm.engine.rest.history.HistoricVariableInstanceRestService.getHistoricVariableInstancesCount(javax.ws.rs.core.UriInfo) at matching regular expression /count. These two methods produces and consumes exactly the same mime-types and therefore their invocation as a resource methods will always fail.; source='org.glassfish.jersey.server.model.RuntimeResource@61f8b398', [FATAL] A resource model has ambiguous (sub-)resource method for HTTP method POST and input mime-types as defined by"@Consumes" and "@Produces" annotations at Java methods public abstract org.camunda.bpm.engine.rest.dto.CountResultDto org.camunda.bpm.engine.rest.history.HistoricTaskInstanceRestService.queryHistoricTaskInstancesCount(org.camunda.bpm.engine.rest.dto.history.HistoricTaskInstanceQueryDto) and public abstract org.camunda.bpm.engine.rest.dto.CountResultDto org.camunda.bpm.engine.rest.history.HistoricVariableInstanceRestService.queryHistoricVariableInstancesCount(org.camunda.bpm.engine.rest.dto.history.HistoricVariableInstanceQueryDto) at matching regular expression /count. These two methods produces and consumes exactly the same mime-types and therefore their invocation as a resource methods will always fail.; source='org.glassfish.jersey.server.model.RuntimeResource@61f8b398', [FATAL] A resource model has ambiguous (sub-)resource method for HTTP method GET and input mime-types as defined by"@Consumes" and "@Produces" annotations at Java methods public abstract org.camunda.bpm.engine.rest.dto.CountResultDto org.camunda.bpm.engine.rest.history.HistoricDetailRestService.getHistoricDetailsCount(javax.ws.rs.core.UriInfo) and public abstract org.camunda.bpm.engine.rest.dto.CountResultDto org.camunda.bpm.engine.rest.history.HistoricVariableInstanceRestService.getHistoricVariableInstancesCount(javax.ws.rs.core.UriInfo) at matching regular expression /count. These two methods produces and consumes exactly the same mime-types and therefore their invocation as a resource methods will always fail.; source='org.glassfish.jersey.server.model.RuntimeResource@61f8b398'] at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:555) at org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:184) at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:350) at org.glassfish.jersey.server.ApplicationHandler$3.call(ApplicationHandler.java:347) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.processWithException(Errors.java:255) at org.glassfish.jersey.server.ApplicationHandler.(ApplicationHandler.java:347) at org.glassfish.jersey.servlet.WebComponent.(WebComponent.java:392) at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:177) at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:369) at javax.servlet.GenericServlet.init(GenericServlet.java:158) at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1183) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4913) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5223) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)