摘要: @interface NotNull The annotated element must not be {@code null}.Accepts any type.-------------------- @interface NotEmpty * The annotated element must not be {@code null} nor empty. Supported types ... 阅读全文
posted @ 2018-12-13 15:38 名著人士 阅读(604) 评论(0) 推荐(0)
摘要: …or create a new repository on the command line echo "# blog" >> README.mdgit initgit add README.mdgit commit -m "first commit"git remote add origin g 阅读全文
posted @ 2018-12-10 19:41 名著人士 阅读(1839) 评论(0) 推荐(0)
摘要: 安装: brew install redis 使用: 启动redis-server: sudo redis-server 连接:./redis-cli -h 127.0.0.1 -p 6379 阅读全文
posted @ 2018-12-06 20:18 名著人士 阅读(129) 评论(0) 推荐(0)
摘要: git merge 时遇到如下错误,google之。真是比百度好用多了。 阅读全文
posted @ 2018-09-26 16:29 名著人士 阅读(113) 评论(0) 推荐(0)
摘要: 修改maven-wrapper.properties内容如下: #distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zipdistribu 阅读全文
posted @ 2018-09-14 11:24 名著人士 阅读(2640) 评论(0) 推荐(0)
摘要: --mysql8.0 创建用户 mysql> create user 'username'@'%' identified with mysql_native_password by 'password'; 授权 mysql> grant all on *.* to 'username'@'%'; 参 阅读全文
posted @ 2018-08-27 14:44 名著人士 阅读(98) 评论(0) 推荐(0)
摘要: 如果在类上面使用@Builder注解, controller中使用: 报错如下: Bad Request: JSON parse error: (although at least one Creator exists) 去掉@Builder注解即可 阅读全文
posted @ 2018-08-23 12:07 名著人士 阅读(193) 评论(0) 推荐(0)
摘要: 当连续import同一个包的多个类时,Idea会自动改成import xxx.*; 办法:修改Names count to use static import with '*' 阅读全文
posted @ 2018-08-17 09:50 名著人士 阅读(310) 评论(0) 推荐(0)
摘要: 参考自:https://www.jianshu.com/p/81bf5efff8e0 阅读全文
posted @ 2018-07-31 11:24 名著人士 阅读(78) 评论(0) 推荐(0)
摘要: 主要参考了这篇博文:https://www.cnblogs.com/jerehedu/p/4343509.html 2.3和2.4 采用xssf,依赖:compile group: 'org.apache.poi', name: 'poi-ooxml', version: '3.17' 阅读全文
posted @ 2018-07-26 14:23 名著人士 阅读(516) 评论(0) 推荐(0)