|
0
|
| 夢ã®ã®å¤¢ · 技术社区 · 5 年前 |
|
1
0
看到了吗 release notes |
|
|
2
0
在Spring2.2之前,主类应该有@EnableConfigurationProperties(SftpProperties.class),或者在SftpProperties类的上面使用@Configuration。 但是在2.2spring通过classpath扫描找到并注册@ConfigurationProperties类之后,就不需要这些注释了,您只需要使用@ConfigurationPropertiesScan(“property package path”)注释来扫描配置属性类的自定义位置。
|