我正在使用这个手册https://golb.hplar.ch/2018/01/Sending-Web-push-messages-from-Spring-Boot-to-Browsers.html的例子来研究推送通知Consider defining a bean of type 'org.springframework.web.reactive.function.client.WebClient' in yourorg.springframework.schedulin
org.springframework.web.reactive.function.client.WebClient “指定的类是一个接口” https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/reactive/function/client/WebClient.html public in
causing error:
java.lang.NoClassDefFoundError: Could not initialize class org.springframework.web.reactive.function.client.DefaultExchangeStrategiesBuilderat org.springframework.web.reactive.function.client.ExchangeStrategies.withDefaults(ExchangeStrategies.java:6
String version;// .. getters and setters
org.springframework.web.reactive.function.UnsupportedMediaTypeException内容类型的文本/xml;charset=UTF-8‘不支持bodyType=com.sample.service.model.ServiceResponse at org.springframework.web
java.lang.IllegalStateException: No primary or default constructor found for interface org.springframework.web.reactive.function.server.ServerRequestat org.springframework.web.reactive.result.method.annotation.ModelAttributeMethodArgumentResolver.createAttributeInvocableHa