This commit is contained in:
xiangwbs
2018-03-15 15:27:42 +08:00
parent 31c7f0e21c
commit 2ba8fa4223
4 changed files with 0 additions and 11 deletions
-6
View File
@@ -67,12 +67,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<!-- 支持@ConfigurationProperties注解-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<finalName>boot-web</finalName>
@@ -18,7 +18,6 @@ import javax.servlet.Filter;
@Configuration//相当于.xml文件中的<beans></beans>
//@Import(xxx.class)//用来导入其他配置类
//@ImportResource("classpath:applicationContext.xml")//用来加载其他xml配置文件
//@ConfigurationProperties(prefix="myProps") //接收application.yml中的myProps下面的所有属性
public class ApplicationContextConfig {
/**
* encoding编码问题(springBoot默认已经配置好)