![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring Boot
张小沫22
这个作者很懒,什么都没留下…
展开
-
Spring Boot几个重要的注解
SpringBoot注解(annotations) 1.@SpringBootApplication = @SpringBootConfiguration + @EnableAutoConfiguration + @ComponentScan,其中@SpringBootConfiguration等同于Spring中的XML文件,使用java代码可以检查类型的安全性;@EnableAutoConf...原创 2018-11-19 13:30:00 · 1213 阅读 · 0 评论 -
Spring Boot目录结构
1、Spring Boot的目录结构 src/main/java:存放代码 src/main/resources static: 存放静态文件,比如 css、js、image等 templates:存放静态页面jsp、html、tpl等 config:存放配置文件,applicatio...转载 2018-11-19 14:27:40 · 456 阅读 · 0 评论