java scriptEngine 如何使用 java package 2019年4月9日 | Leave a comment 解决: Packages.* var op2 = new Packages.thelook.da… Read More
docker tomcat 更改为默认中文 locale 2019年3月15日 | Leave a comment 问题: docker run tomcat 是英文的 解决: -e … Read More
spring boot redis demo 2019年3月15日 | Leave a comment 解决: @Bean public CommandLineRunner r(StringRedisTemplate redis) { return (argv) -> { final var key = "tfh_l1"; for (int i = 0; i < 60; i++) { final var op = redis.opsForList(); op.rightPush(key, "i:" + i); redis.expire(key, 2, TimeUnit.MINUTES); Thread.sleep(1000); } }; } 123456789101112 @Bean public CommandLineRunner r(StringRedisTemplate redis) { return (argv) -> { final var key = "tfh_l1"; for (int i = 0; i < 60; i++) { final var op = redis.opsForList(); op.rightPush(key, "i:" + i); redis.expire(key, 2, TimeUnit.MINUTES); Thread.sleep(1000); } }; } application.yaml [… Read More
spring boot + swagger fox 配置 2019年3月12日 | Leave a comment 问题: 解决: [crayon-6934d36c50e6a67288… Read More
将 spring-framework 源码生成 maven pom.xml 2019年2月28日 | Leave a comment 问题: spring framework 源码提供了grale.build 但是没有pom.xml 个人比较习… Read More
[未解决]docker java11 配置 2019年2月25日 | Leave a comment 问题: Java 出现 oom ,但是使用的内存未达到 docker 的限制 jdk11 应该会… Read More
spring boot 配置了多个 jpa 更新时提示 没有进行中的事务 2019年2月15日 | Leave a comment 问题: 解决: 创建两个 TransactionManager @B… Read More
【软件质量】人员流动频繁的情况下如何保证代码质量? 2019年2月13日 | Leave a comment 问题: 人员流动频繁的情况下如何保证代码质量? 我们公司的代码之前是我花了一两个月创建,后来大多是别的同事在修… Read More