本地命令curl -v -X "域名/actuator/bus-refresh"能成功触发rabbitmq,服务端和客户端配置都会刷新,但是gitHub的webhook却在服务端看到以下报错:Failed to read HTTP message: org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize instance of `java.lang.String` out of START_ARRAY token; nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.lang.String` out of START_ARRAY token at [Source: (PushbackInputStream); line: 1, column: 296] (through reference chain: java.util.LinkedHashMap["commits"]),我把gitHub的post请求的数据拷到postman上请求,也报相同的错误,gitHub的请求的json是多层的json,我去掉多层json,只用单层的,是会成功的。我想问一下是不是config服务器的spring-boot和cloud版本配置不对,还是需要加什么处理复杂json的maven依赖?
SpringCloud组件实现微服务,【已升级Finchley.Release】
了解课程