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
Since spring-boot-test 2.4.0 update I got org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.test.web.reactive.server.WebTestClient': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: No suitable default ClientHttpConnector found but when I check maven dependencies no reactive dependencies was found. After investigation I found discrepancy between spring-boot-test:2.3.5.RELEASE and spring-boot-test:2.4.0 in WebTestClientContextCustomizerFactory:
If I'm correct there is no notes about this update at 2.4.0 release notes page. Could you check it and reply how to resolve this case? Expected behaviour: no exceptions during test run because no WebClient present in classpath. Actual behaviour:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.test.web.reactive.server.WebTestClient': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: No suitable default ClientHttpConnector found
The text was updated successfully, but these errors were encountered:
Since spring-boot-test 2.4.0 update I got
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.test.web.reactive.server.WebTestClient': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: No suitable default ClientHttpConnector found
but when I check maven dependencies no reactive dependencies was found. After investigation I found discrepancy between spring-boot-test:2.3.5.RELEASE and spring-boot-test:2.4.0 inWebTestClientContextCustomizerFactory
:2.3.5.RELEASE (and earlier):
2.4.0:
If I'm correct there is no notes about this update at 2.4.0 release notes page. Could you check it and reply how to resolve this case?
Expected behaviour: no exceptions during test run because no WebClient present in classpath.
Actual behaviour:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.test.web.reactive.server.WebTestClient': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: No suitable default ClientHttpConnector found
The text was updated successfully, but these errors were encountered: