diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/jersey/JerseySameManagementContextConfiguration.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/jersey/JerseySameManagementContextConfiguration.java index 9de0cc4019..4971e4303b 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/jersey/JerseySameManagementContextConfiguration.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/jersey/JerseySameManagementContextConfiguration.java @@ -57,7 +57,7 @@ public class JerseySameManagementContextConfiguration { @Configuration(proxyBeanMethods = false) @Import(JerseyManagementContextConfiguration.class) @ConditionalOnMissingBean(ResourceConfig.class) - class JerseyInfrastructureConfiguration { + static class JerseyInfrastructureConfiguration { @Bean @ConditionalOnMissingBean(JerseyApplicationPath.class)