2020年1月17日

摘要: Windows电脑通过VBox安装Centos和Docker 阅读全文
posted @ 2020-01-17 08:06 tomcat and jerry 阅读(347) 评论(0) 推荐(0)

2020年1月9日

摘要: 手写第一个Docker镜像 阅读全文
posted @ 2020-01-09 08:06 tomcat and jerry 阅读(403) 评论(0) 推荐(0)

2020年1月3日

摘要: Windows电脑VBOX Centos下使用Docker安装mysql5.7 阅读全文
posted @ 2020-01-03 10:09 tomcat and jerry 阅读(241) 评论(0) 推荐(0)

2019年12月12日

摘要: Java追加文件,文件合并 阅读全文
posted @ 2019-12-12 16:59 tomcat and jerry 阅读(437) 评论(0) 推荐(0)

2019年9月18日

摘要: 发现搜到的全部一样的方案 new String(fileName.getBytes(), "ISO8859-1") 贴一个不一样的解决方案 使用URLEncoder.encode 阅读全文
posted @ 2019-09-18 14:31 tomcat and jerry 阅读(11843) 评论(2) 推荐(2)

2019年1月31日

摘要: lombok可以使实体更简洁,主要是会在编译.class文件期间,生成get/set方法,还有hash/equals/toString等。 主要是可以让代码更简洁。 在maven项目的pom依赖: Maven scope=provided的作用范围:参考:http://maven.apache.or 阅读全文
posted @ 2019-01-31 16:00 tomcat and jerry 阅读(6791) 评论(0) 推荐(1)

2019年1月28日

摘要: # Spring Mock Test ## Mock测试背景 ``` https://www.infoq.com/articles/stubbing-mocking-service-virtualization-differences ``` ### 正常情况下,Spring推荐使用接口interf 阅读全文
posted @ 2019-01-28 15:08 tomcat and jerry 阅读(609) 评论(0) 推荐(0)

2018年12月29日

摘要: Maven项目有时候有一些私有jar 比如:oracle的驱动 如果是boot项目,要打进jar包有多种方式: 方法1. 手动install jar到本地maven仓库,然后pom里面依赖 方法2. 安装nexus私有仓库,然后上传到私有仓库,pom配置仓库. https://www.cnblogs 阅读全文
posted @ 2018-12-29 17:38 tomcat and jerry 阅读(2068) 评论(0) 推荐(0)

2018年12月14日

摘要: 普通文件读取,通常使用FileReader 解决方案: 用InputStreamReader包装一层,并指定字符集 阅读全文
posted @ 2018-12-14 15:32 tomcat and jerry 阅读(2449) 评论(0) 推荐(0)

2018年11月28日

摘要: 参考:https://blog.csdn.net/liguo9860/article/details/6874040 我这里就说一下使用Spring的JavaMailSender如何实现 1. 配置JavaMailSender 2. 发送邮件 阅读全文
posted @ 2018-11-28 17:41 tomcat and jerry 阅读(298) 评论(0) 推荐(0)

导航