2018年7月19日

java 中 Cannot make a static reference to the non-static 解决方法

摘要: 今天敲代码的时候遇到了这个问题,大体这个问题可以简化成这样; 1 2 3 4 5 6 7 8 9 10 显示 Cannot make a static reference to the non-static method get() from the type Test1 好吧,我决定改成这样 1 阅读全文

posted @ 2018-07-19 19:44 chengjunde 阅读(1022) 评论(0) 推荐(0) 编辑

maven clean 异常问题

摘要: 当使用`mvn clean`,报`maven… Failed to clean project: Failed to delete ..`时,如果你觉得这个文件删除成功或失败没有关系,可以使用如下命令,强制clean: mvn clean test -Dmaven.clean.failOnError 阅读全文

posted @ 2018-07-19 19:40 chengjunde 阅读(591) 评论(0) 推荐(0) 编辑

redis 与session

摘要: springboot:session集中存储到redis https://www.cnblogs.com/huiy/p/6907164.html springboot处理session生命周期 https://www.cnblogs.com/jin-zhe/p/8204058.html spring 阅读全文

posted @ 2018-07-19 00:52 chengjunde 阅读(815) 评论(1) 推荐(0) 编辑

导航