diff --git a/boot-web/pom.xml b/boot-web/pom.xml
index 7c9b457..e82793a 100644
--- a/boot-web/pom.xml
+++ b/boot-web/pom.xml
@@ -67,6 +67,12 @@
org.springframework.boot
spring-boot-starter-aop
+
+
+ org.springframework.boot
+ spring-boot-configuration-processor
+ true
+
boot-web
diff --git a/boot-web/src/main/java/com/xwbing/configuration/ApplicationContextConfig.java b/boot-web/src/main/java/com/xwbing/configuration/ApplicationContextConfig.java
index f765314..6de89f5 100644
--- a/boot-web/src/main/java/com/xwbing/configuration/ApplicationContextConfig.java
+++ b/boot-web/src/main/java/com/xwbing/configuration/ApplicationContextConfig.java
@@ -18,6 +18,7 @@ import javax.servlet.Filter;
@Configuration//相当于.xml文件中的
//@Import(xxx.class)//用来导入其他配置类
//@ImportResource("classpath:applicationContext.xml")//用来加载其他xml配置文件
+//@ConfigurationProperties(prefix="myProps") //接收application.yml中的myProps下面的所有属性
public class ApplicationContextConfig {
/**
* encoding编码问题(springBoot默认已经配置好)