Skip to content

Compilation error EndpointHandlerMapping #2908

Closed

Description

@eddumelendez

Method registerHandlerMethod in AbstractHandlerMethodMapping change from protected to public

The following error is throwing

[ERROR] COMPILATION ERROR : 
[ERROR] /Users/eddumelendez/Documents/GitHub/spring-boot/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/mvc/EndpointHandlerMapping.java:[92,24] registerHandlerMethod(java.lang.Object,java.lang.reflect.Method,org.springframework.web.servlet.mvc.method.RequestMappingInfo) in org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping cannot override registerHandlerMethod(java.lang.Object,java.lang.reflect.Method,T) in org.springframework.web.servlet.handler.AbstractHandlerMethodMapping
  attempting to assign weaker access privileges; was public

Activity

  1. added a commit that references this issue on May 4, 2015
    aaeb910
  2. rstoyanchev commented on May 4, 2015

    @rstoyanchev
    Contributor

    This is caused by changes for https://jira.spring.io/browse/SPR-11541. The ticket has been re-opened so you can track that instead.

  3. rstoyanchev commented on May 4, 2015

    @rstoyanchev
    Contributor

    I've pushed a fix to the Spring Framework. A new snapshot should become available soon. Closing for now but feel free to re-open if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions