摘要: spring boot入门操作 devtools热部署 + pom dependencies里添加依赖 org.springframework.boot spring boot devtools true true + 添加spring boot maven plugin: org.springfr 阅读全文
posted @ 2017-06-16 22:00 仙山泗水 阅读(136) 评论(0) 推荐(0) 编辑
摘要: spring boot入门操作 使用FastJson解析json数据 + pom dependencies里添加fastjson依赖 com.alibaba fastjson 1.2.25 + 在APP.java注入bean HttpMessageConverters @SpringBootAppl 阅读全文
posted @ 2017-06-16 21:42 仙山泗水 阅读(104) 评论(0) 推荐(0) 编辑
摘要: spring boot入门操作 创建HelloWorld + 新建maven project ,选择artifact id 为maven archetype quicktype + 创建pom,在project中添加 org.springframework.boot spring boot star 阅读全文
posted @ 2017-06-16 20:49 仙山泗水 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 1 设置Git的user name和email: git config --global user.name "xxx" git config --global user.email "xxx@gmail.com" 2 生成SSH密钥过程: $ ssh-keygen -t rsa 按3个回车,密码为 阅读全文
posted @ 2017-05-15 23:23 仙山泗水 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 1输入域名,例如,http://www.cnblogs.com/,查询本地的hosts,有,返回,无,继续。 2查询本地DNS解析器缓存,有,返回,无,继续。 3用本地DNS服务器解析,有,返回,无,继续。 4查找本地DNS服务器的缓存,有,返回,无,继续。 5.1未启动转发模式:请求会发到13台根 阅读全文
posted @ 2017-03-22 17:29 仙山泗水 阅读(130) 评论(0) 推荐(0) 编辑
摘要: List<Integer> a=new ArrayList<Integer>(); a.add(1); System.out.println(a.size()); int b[]={1,2,3}; System.out.println(b.length); String s=new String(" 阅读全文
posted @ 2017-02-10 14:04 仙山泗水 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1.==比较两个变量的值是否相等 (1)基本类型数据 int i=1,j=1; i==j true (2)引用类型数据 student a=new student(1); student b=new student(1); a==b false b=a; a==b true //比较的是 a和b是否 阅读全文
posted @ 2017-02-10 13:23 仙山泗水 阅读(183) 评论(0) 推荐(0) 编辑
摘要: hibernate.cfg.xml中的javax.persistence.validation.mode默认情况下是auto的,就是说如果不设置的话它是会自动去你的classpath下面找一个bean-validation**包, 但是找不到,所以beanvalitionFactory错误,org. 阅读全文
posted @ 2016-05-23 21:59 仙山泗水 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 1.安装jdk (1)下载jdk8,win64版本 下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html (2)点击下载完的exe文件进行安装 选择jdk安装位置,我选择F:\ 阅读全文
posted @ 2016-04-12 01:28 仙山泗水 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 之前一直没弄清jsonArray和jsonObject的区别,今天终于弄明白了。 jsonArray是数组,以[ ]包含数据,jsonObject是对象,以{ }包含数据。 介绍一个在前台组建一个jsonArray的容易方法 var array=[]; for(int i=0;i<10;i++){ 阅读全文
posted @ 2016-04-11 15:01 仙山泗水 阅读(2247) 评论(0) 推荐(0) 编辑