-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spring boot 2.0.2使用非注解式自动reload方式会报错 #392
Comments
我也遇到这个问题,原因是spring5对API做了调整 |
。。。。问题主要在client吧?正好我已经开始着手对client进行改造升级了。 |
把ReloadingPropertyPlaceholderConfigurer类改为继承PropertySourcesPlaceholderConfigurer; |
已经修改client **,但是只要创建ReloadingPropertyPlaceholderConfigurer 这个bean就报错(sprint boot 2.1.3): |
错误信息:java.lang.NoSuchMethodError: com.baidu.disconf.client.addons.properties.DefaultPropertyPlaceholderConfigurer.parseStringValue(Ljava/lang/String;Ljava/util/Properties;Ljava/util/Set;)Ljava/lang/String;
at com.baidu.disconf.client.addons.properties.ReloadingPropertyPlaceholderConfigurer.parseStringValue(ReloadingPropertyPlaceholderConfigurer.java:97) ~[disconf-client-2.6.36.jar:na]
原因:springboot2.0.2版本没有这个方法了org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.parseStringValue(String, Properties, Set<?>)
The text was updated successfully, but these errors were encountered: