我用命令还发送Post命令可以成功,用GitHub的webhooks就失败了
来源:6-6 集成WebHooks实现动态更新
慕粉3495297
2018-04-20
命令还可以自动更新可以
用webhooks就不行,
而且第一种monitor是不行的,第二种才有错误返回我的服务器:
错误代码如下:
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: 293] (through reference chain: java.util.LinkedHashMap["commits"])
望各位帮忙解惑,谢谢
4回答
-
1988一直很安静
2018-07-09
用monitor需要configserver工程中添加maven依赖
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-monitor</artifactId>
</dependency>
00 -
菜鸟精髓
2018-05-29
springboot 版本2.0.1.RELEASE 对应的 srpingclould版本应该是Finchley.RC1 可以查询官网
00 -
木头房子的
2018-05-21
版本问题
00 -
慕粉3495297
提问者
2018-04-20
附带我的pom文件
我用的是2.0.1RELEASE版本的
012018-04-24
SpringCloud Finchley(M2+RELEASE+SR2)微服务实战
5661 学习 · 2489 问题
相似问题
回答 1
回答 3