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.

Google Groups | Rafael Ponte | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problemas com VRaptor 3.1.2

    Google Groups | 5 years ago | Rafael Ponte
    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.
  2. 0

    interceptor

    Google Groups | 4 years ago | Will
    java.lang.IllegalStateException: 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.

    Root Cause Analysis

    1. 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()
    2. br.com.caelum
      VRaptor.doFilter
      1. br.com.caelum.vraptor.http.route.DefaultRouter.checkIfThereIsAnotherRoute(DefaultRouter.java:106)
      2. br.com.caelum.vraptor.http.route.DefaultRouter.parse(DefaultRouter.java:97)
      3. br.com.caelum.vraptor.http.DefaultResourceTranslator.translate(DefaultResourceTranslator.java:51)
      4. br.com.caelum.vraptor.interceptor.ResourceLookupInterceptor.intercept(ResourceLookupInterceptor.java:64)
      5. br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:54)
      6. br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
      7. br.com.caelum.vraptor.core.ToInstantiateInterceptorHandler.execute(ToInstantiateInterceptorHandler.java:56)
      8. br.com.caelum.vraptor.core.DefaultInterceptorStack.next(DefaultInterceptorStack.java:65)
      9. br.com.caelum.vraptor.core.DefaultRequestExecution.execute(DefaultRequestExecution.java:70)
      10. br.com.caelum.vraptor.VRaptor$1.insideRequest(VRaptor.java:92)
      11. br.com.caelum.vraptor.ioc.spring.SpringProvider.provideForRequest(SpringProvider.java:56)
      12. br.com.caelum.vraptor.VRaptor.doFilter(VRaptor.java:89)
      12 frames
    3. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    4. br.com.syspdv
      SSOFilter.doFilter
      1. br.com.syspdv.synch.web.SSOFilter.doFilter(SSOFilter.java:35)
      1 frame
    5. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      8 frames
    6. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame