You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While upgrading from Spring Boot 2.1.0 to 2.1.1 some of our tests started failing as the ApplicationContext couldn't be loaded because of:
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.boot.autoconfigure.web.servlet.JerseyApplicationPath' available
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:343)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:335)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1101)
at org.springframework.boot.actuate.autoconfigure.endpoint.web.ServletEndpointManagementContextConfiguration$JerseyServletEndpointManagementContextConfiguration.servletEndpointRegistrar(ServletEndpointManagementContextConfiguration.java:98)
I created a minimal project to reproduce the issue:
While upgrading from Spring Boot 2.1.0 to 2.1.1 some of our tests started failing as the ApplicationContext couldn't be loaded because of:
I created a minimal project to reproduce the issue:
Two classes under src/test/java:
DummyApplication.java
:DummyTest.java
:When downgrading to Spring Boot 2.1.0.RELEASE, the test runs green.
Running on JDK 1.8.0_112, Maven 3.5.2
The text was updated successfully, but these errors were encountered: