java.lang.IllegalStateException: There are two rules that matches the uri '/monitoramento/status/online/0046' with method GET: [[FixedMethodStrategy: /monitoramento/status/online/{codigoDaLoja} HealthCheckerController.online(String) [GET]], [FixedMethodStrategy: /monitoramento/status/online/{codigoDaLoja} HealthCheckerController.online(String) [GET]]] with same priority. Consider using @Path priority attribute.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Rafael Ponte, 1 year ago
There are two rules that matches the uri '/monitoramento/status/online/0046' with method GET: [[FixedMethodStrategy: /monitoramento/status/online/{codigoDaLoja} HealthCheckerController.online(String) [GET]], [FixedMethodStrategy: /monitoramento
via Google Groups by Will, 2 years ago
There are two rules that matches the uri '/login' with method GET: [[FixedMethodStrategy: /{usuario.uri} ModeloController.modelo() [GET]], [FixedMethodStrategy: /login UsuarioController.login() [GET]]] with same priority. Consider using @Path priority attribute.
java.lang.IllegalStateException: There are two rules that matches the uri '/monitoramento/status/online/0046' with method GET: [[FixedMethodStrategy: /monitoramento/status/online/{codigoDaLoja} HealthCheckerController.online(String) [GET]], [FixedMethodStrategy: /monitoramento/status/online/{codigoDaLoja} HealthCheckerController.online(String) [GET]]] with same priority. Consider using @Path priority attribute.
at br.com.caelum.vraptor.http.route.DefaultRouter.checkIfThereIsAnotherRoute(DefaultRouter.java:106)
at br.com.caelum.vraptor.http.route.DefaultRouter.parse(DefaultRouter.java:97)
at br.com.caelum.vraptor.http.DefaultResourceTranslator.translate(DefaultResourceTranslator.java:51)
at br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor.intercept(ResourceLookupInterceptor.java:64)
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
at br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
at br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
at br.com.caelum.vraptor.core.DefaultRequestExecution.execute(DefaultRequestExecution.java:70)
at br.com.caelum.vraptor.VRaptor$1.insideRequest(VRaptor.java:92)
at br.com.caelum.vraptor.ioc.spring.SpringProvider.provideForRequest(SpringProvider.java:56)
at br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:89)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at br.com.syspdv.synch.web.SSOFilter.doFilter(SSOFilter.java:35)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.