上一页 1 ··· 15 16 17 18 19
摘要: 对于官网没有的jar包,maven向本地仓库导入jar包用如下命令mvn install:install-file-DgroupId=包名-DartifactId=项目名-Dversion=版本号-Dpackag... 阅读全文
posted @ 2017-06-07 14:56 海尚书 阅读(846) 评论(0) 推荐(0) 编辑
摘要: new bigdecimal(double d) 会导致精度不准确。 new bigdecimal(doubble+"")或bigdecimal.valueof(double)可解决。 ... 阅读全文
posted @ 2017-05-16 14:05 海尚书 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 1,在oracle中,条件若是不等于一个字符,假如用操作符,有查不到字段为null的记录,例如:select t.*, t.rowid from table t where t.user_id='123456' ... 阅读全文
posted @ 2017-05-04 16:49 海尚书 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 1.查找需要卸载的OpenJDK:# rpm -qa | grep java2:依次卸载rpm -e --nodeps javapackages-tools-3.4.1-6.el7_0.noarchrpm -e... 阅读全文
posted @ 2017-04-27 11:58 海尚书 阅读(476) 评论(0) 推荐(0) 编辑
摘要: 1,在properties中设置中文name=张三2使用spring提供的@value("“${name}”)会出现乱码问题需在类上面添加@PropertySource(value = "classpath:ap... 阅读全文
posted @ 2017-04-26 16:49 海尚书 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 1,在pom文件中引入quartz quartz quartz 1.5.22,在spring配置文字中配置 ... 阅读全文
posted @ 2017-04-26 16:35 海尚书 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1,在pom中加入依赖 redis.clients jedis 2.4.22,在spring配置文件中配置pool ... 阅读全文
posted @ 2017-04-26 16:03 海尚书 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 一1,命令: mvn install:install-file -Dfile=d:\GroboTestingJUnit-1.2.1-core.jar -DgroupId=fakepath -Dartifact... 阅读全文
posted @ 2017-04-14 16:59 海尚书 阅读(193) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19