Skip to content

enable function is protected  #372

Open
@lwenxu

Description

@lwenxu

when i use it in springboot proj , and use sample case:

   public static JafuApplication app = webApplication(a -> a.beans(b -> b
            .enable(webMvc(s -> s
                    .port(s.profiles().contains("test") ? 8181 : 8080)
                    .router(router -> {

                    }).converters(c -> c
                            .string()
                            .jackson()))));

i get that result , i can't compile that , and i want to call s.initialize() but i can't get bean context any more

image

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