转载:
@SpringBootApplication 注解的作用:
http://blog.csdn.net/u013473691/article/details/52353923
转载:
@EnableAspectJAutoProxy注解的作用:
http://blog.csdn.net/pml18710973036/article/details/61654277
转载:
Java注解之Retention、Documented、Inherited介绍以及 Target
http://www.cnblogs.com/Gordon-YangYiBao/archive/2012/08/07/2626340.html
http://www.jb51.net/article/55371.htm
转载:
import注解升级:
http://wiselyman.iteye.com/blog/2217077
@import注解针对类,@ImportResource注解针对xml配置文件:
http://blog.csdn.net/jiaobuchong/article/details/50530027
转载:
@Qualifier注解(@Qualifier("XXX") 中的 XX是 Bean 的名称,所以 @Autowired 和 @Qualifier 结合使用时,自动注入的策略就从 byType 转变成 byName 了。):
https://baike.baidu.com/item/@Qualifier/1264902?fr=aladdin
http://www.cnblogs.com/viewcozy/p/4705168.html
转载:
@ContextConfiguration注解:
http://www.bubuko.com/infodetail-1019112.html
转载:
springBoot 获取properties文件参数值有两种方法,一种获得Environment 的对象,第二种就是@Value注解
http://www.cnblogs.com/aqsunkai/archive/2017/04/07/6690573.html
接下去:
jetty服务器怎么读取到 SpringBoot注解的配置文件:
<build>
<finalName>secondBoot</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>8.1.16.v20140903</version>
<configuration>
<connectors>
<connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
<port>8080</port>
<maxIdleTime>30000</maxIdleTime>
</connector>
</connectors>
<reload>automatic</reload>
<scanIntervalSeconds>5</scanIntervalSeconds>
<stopKey>shutdown</stopKey>
<stopPort>8020</stopPort>
<webAppConfig>
<contextPath>/</contextPath>
</webAppConfig>
</configuration>
</plugin>
</plugins>
</build>