PS: Spring boot注解,Configuration是生成一个config对象,@Bean指定对应的函数返回的是Bean对象,相当于XML定义,ConfigurationProperties是指定对应的函数返回的保护这些properties http://www.tutorialspoint.com/spring/spring_java_based_configuration.htm So far you have seen how we configure Spring beans…