摘要: @SpringBoot 在springboot工程中只能有一个类是启动类,这个类需要 * 1)使用@SpringBootAppLication注解进行描述 * 2)此类中会有一个main方法,在main方法中初始化springboot默认配置 @Component 此注解描述的对象可以交给sprin 阅读全文
posted @ 2020-12-08 20:32 Liang-shi 阅读(140) 评论(0) 推荐(0) 编辑