上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: 转载自https://www.jianshu.com/p/18207167b1e7 软件准备 VirtualBox 官网 版本: 5.1.18 下载地址 CentOS 官网 版本: CentOS-7 下载地址 http://verify.iso.mirrors.ustc.edu.cn/centos/ 阅读全文
posted @ 2019-09-04 17:22 高木子 阅读(13893) 评论(2) 推荐(3) 编辑
摘要: 1,Spring 属性拷贝BeanUtils package gx.springboot.schedule.common.util; import org.springframework.beans.BeanUtils; import org.springframework.util.Collect 阅读全文
posted @ 2019-08-22 21:10 高木子 阅读(1942) 评论(1) 推荐(0) 编辑
摘要: package com.chitic.supplywater.common.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Config 阅读全文
posted @ 2019-08-21 17:36 高木子 阅读(2745) 评论(1) 推荐(1) 编辑
摘要: package com.chitic.schedule.data.config.job; import lombok.extern.slf4j.Slf4j; import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandle 阅读全文
posted @ 2019-07-02 13:44 高木子 阅读(11937) 评论(1) 推荐(0) 编辑
摘要: identifier of an instance of .. altered to null jpa用的是Hibernate实现,对一条数据进行复制(新增数据)时遇到的问题 原因: 在SSH框架中,我们常常把事务放在业务逻辑层(Manager),所有业务逻辑完成后才能commit事务,这时候,如果 阅读全文
posted @ 2019-06-28 16:54 高木子 阅读(746) 评论(0) 推荐(0) 编辑
摘要: 第一种:spring的RestTemplate HttpHeaders headers = new HttpHeaders(); headers.setContentType(MediaType.APPLICATION_JSON); //header headers.set("Authorizati 阅读全文
posted @ 2019-06-24 16:49 高木子 阅读(4010) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/60799f1356c5 https://blog.csdn.net/Ouyzc/article/details/79994401 maven依赖 <dependency> <groupId>org.springframework.boot</gr 阅读全文
posted @ 2019-06-11 15:20 高木子 阅读(3618) 评论(0) 推荐(0) 编辑
摘要: File file = new File("b.txt"); int count = 0; FileInputStream fis = null; FileOutputStream fos = null; if(!file.exists()) { try { file.createNewFile() 阅读全文
posted @ 2019-05-22 10:06 高木子 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 个人原创,注意版权 参考文档 https://docs.spring.io/spring-data/data-mongo/docs/1.7.0.RC1/reference/html/#mongodb-connectorsSpringData MongoDB: https://docs.spring. 阅读全文
posted @ 2019-05-21 10:51 高木子 阅读(912) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>com.auth0</groupId> <artifactId>java-jwt</artifactId> <version>3.2.0</version></dependency><dependency> <groupId>io.jsonwebtoken 阅读全文
posted @ 2019-05-14 18:34 高木子 阅读(1588) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页