Skip to content

FF4jWebConsoleConfiguration in getting started documentation (https://ff4j.org/#10min) does not compile without a cast to Servlet for ff4jDispatcherServlet  #1

Description

@emecas

It is weird, since all examples are like that, but in order to make it compile I had to replace:

return new ServletRegistrationBean(ff4jDispatcherServlet, "/ff4j-web-console/*") 

by:

return new ServletRegistrationBean( (javax.servlet.Servlet) ff4jDispatcherServlet, "/ff4j-web-console/*");

Activity

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