![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Spring Boot
Spring Boot 学习
落叶
这个作者很懒,什么都没留下…
展开
-
新手Java开发中总爱遗忘的概念,随缘更新...
之后一段时间开始整理Java创建maven项目: 1、GroupID是项目组织唯一的标识符。格式:域名.公司名.项目名 eg: com.company.projectname 2、ArtifactID是项目的唯一的标识符,。格式:项目名称(有意义)eg:mvntest未完待续…...原创 2019-09-02 13:47:54 · 53 阅读 · 0 评论 -
注解
一、注解(annotations)列表@SpringBootApplication:包含了@ComponentScan、@Configuration和@EnableAutoConfiguration注解。其中@ComponentScan让spring Boot扫描到Configuration类并把它加入到程序上下文。@Configuration 等同于spring的XML配置文件;使用Jav...原创 2019-09-04 16:47:47 · 36 阅读 · 0 评论 -
java.io.FileNotFoundException 与 java.io.FileNotFoundException 处理记录
SpringBoot打成jar包后,读取resources目录下的文件异常处理本例引发错误的使用: String filePath = this.getClass().getClassLoader().getResource("certificate/kexin_client.p12").getPath(); String client_file = filePath; ...原创 2019-09-10 15:53:19 · 1797 阅读 · 0 评论