Skip to content

Disabled shell under 2.1.0-M2 still registers Spring managed Beans #374

Closed
@ullenboom

Description

@ullenboom

A disabled shell

spring.shell.interactive.enabled=false

should not instantiate any shell components or beans.

However, mixing Shell-Start + Web-Starter and enabled=false will lead to

the bean 'themeResolver', defined in class path resource [org/springframework/shell/boot/ThemingAutoConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration$EnableWebMvcConfiguration.class] and overriding is disabled.

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