yang.scofield

2017年12月27日

spring boot hello world

摘要: 本文讲解初始用户搭建spring boot 工程。 新建工程目录结构: application.java放在最外层的包目录里 先添加pom.xml的依赖包: application.java内容: HelloController.java application.properties: 只需添加工程 阅读全文

posted @ 2017-12-27 18:17 yang.scofield 阅读(161) 评论(0) 推荐(0)

2017年12月11日

mysql5.7.20 windows 解压缩版安装

摘要: 1、下载 文件下载路径:https://dev.mysql.com/downloads/mysql/ 2、配置文件 在解压的文件夹内新建my.ini文件,并加入以下内容: [mysql]# 设置mysql客户端默认字符集default-character-set=utf8[mysqld]#设置330 阅读全文

posted @ 2017-12-11 09:45 yang.scofield 阅读(5172) 评论(0) 推荐(0)

2017年11月23日

spring boot读取classpath下的json文件

摘要: import org.springframework.beans.factory.annotation.Value; import org.springframework.core.io.Resource; 使用@Value注解 @Value(value="classpath:default.jso 阅读全文

posted @ 2017-11-23 10:57 yang.scofield 阅读(9831) 评论(0) 推荐(0)

导航