Skip to content

application fails to start when setting spring.sleuth.web.enabled=false  #1435

@jorgheymans

Description

@jorgheymans

Tested against 2.1.1 and 2.1.2

***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 1 of method httpTracing in org.springframework.cloud.sleuth.instrument.web.TraceHttpAutoConfiguration required a bean of type 'org.springframework.cloud.sleuth.instrument.web.SkipPatternProvider' that could not be found.

The injection point has the following annotations:
	- @org.springframework.beans.factory.annotation.Autowired(required=true)

The following candidates were found but could not be injected:
	- Bean method 'sleuthSkipPatternProvider' in 'TraceWebAutoConfiguration' not loaded because @ConditionalOnProperty (spring.sleuth.web.enabled) found different value in property 'spring.sleuth.web.enabled'


Action:

Consider revisiting the entries above or defining a bean of type 'org.springframework.cloud.sleuth.instrument.web.SkipPatternProvider' in your configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions