Skip to content
This repository was archived by the owner on Dec 4, 2025. It is now read-only.
This repository was archived by the owner on Dec 4, 2025. It is now read-only.

enable function is protected  #372

@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
    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