apolloconfig / apolloconfig/apollo

apollo spring 自动更新配置异常 1.5.0

Đang mở
#2,692 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
discussion
Ngôn ngữ chính
Java
Star
29.8k
Fork
10.2k
Merge trung bình
4 ngày 7 giờ
Pull request đã merge (30 ngày)
4

Mô tả

apollo会自动更新占位符的变量,当更新以下值的时候,存在异常,麻烦看看;
2019-10-24 11:40:18,725 - spring.property.AutoUpdateConfigChangeListener [Apollo-Config-4] ERROR spring.property.AutoUpdateConfigChangeListener(74) [] - Auto update apollo changed value failed, key: master.url, beanName: dataSource, method: com.alibaba.druid.pool.DruidDataSource.setUrl
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_80]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_80]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_80]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_80]
at com.ctrip.framework.apollo.spring.property.SpringValue.injectMethod(SpringValue.java:80) ~[apollo-client-1.5.0-20191022.094954-10.jar:1.5.0-SNAPSHOT]
at com.ctrip.framework.apollo.spring.property.SpringValue.update(SpringValue.java:59) ~[apollo-client-1.5.0-20191022.094954-10.jar:1.5.0-SNAPSHOT]
at com.ctrip.framework.apollo.spring.property.AutoUpdateConfigChangeListener.updateSpringValue(AutoUpdateConfigChangeListener.java:69) [apollo-client-1.5.0-20191022.094954-10.jar:1.5.0-SNAPSHOT]

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.