Skip to content

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

@emecas

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/*");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions