上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 31 下一页
摘要: 1,下载Maven 从:https://maven.apache.org/download.cgi 其实两个都一样, 2,安装过程 解压你下载的包,随意放哪里都可以 ,假设 我放在了 D:\JavaTools\maven\apache-maven-3.3.9 。 3, 加入环境变量 TEST : 执行 mvn 应该可以看到如下提示 4,配置 1... 阅读全文
posted @ 2017-01-04 17:29 张保维 阅读(327) 评论(0) 推荐(0)
摘要: Idea 设置 -DarchetypeCatalog=internal 然后再执行 : Archetype repository not defined. Using the one from [org.apache.maven.archetypes:maven-archetype-webapp:1.0] found in catalog internal 阅读全文
posted @ 2017-01-04 14:03 张保维 阅读(906) 评论(0) 推荐(0)
摘要: 抄自: http://www.techweb.com.cn/network/system/2016-01-05/2252188.shtml @RestController spring4为了更方便的支持restfull应用的开发,新增了RestController的注解,比Controller注解多的功能就是给底下的RequestMapping方法默认都加上ResponseBody注解,... 阅读全文
posted @ 2017-01-04 11:21 张保维 阅读(1620) 评论(0) 推荐(0)
摘要: WebMvcConfigurerAdapter : WebApplicationInitializer :http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/WebApplicationInitializer.html AbstractDispatcherServletIni... 阅读全文
posted @ 2017-01-04 11:12 张保维 阅读(124) 评论(0) 推荐(0)
摘要: 在1中随意写code , 在 2中 会提示 com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: No matching constant for [1] at com.google.common.cache.LocalCache$Segmen... 阅读全文
posted @ 2017-01-03 14:29 张保维 阅读(2950) 评论(0) 推荐(0)
摘要: editor >general >code completion >case sensitive completion >none 阅读全文
posted @ 2016-12-28 17:35 张保维 阅读(172) 评论(0) 推荐(0)
摘要: from: https://my.oschina.net/lujianing/blog/204103 download for windows :https://github.com/MSOpenTech/redis 阅读全文
posted @ 2016-12-25 21:27 张保维 阅读(209) 评论(0) 推荐(0)
摘要: 1,下载最新的 git 包 地址: https://git-scm.com/download/win 下载便携版 64,32 根据个人爱好 2,解压后随便放个位置即可,例如图: (不太建议使用它自解压的方式,一般使用右键,解压) 3,打开Idea File—> Setting. 4, 设置Git exe 如下图 5, ... 阅读全文
posted @ 2016-12-21 10:35 张保维 阅读(88479) 评论(5) 推荐(7)
摘要: From : https://www.infoq.com/news/2010/08/arm-blocks try(Jedis jedis = jedisPool.getResource()){ String key = "testKey2"; jedis.set(key,"fasdfasdfasdfasdfasdf"); String data = jedis.ge... 阅读全文
posted @ 2016-12-21 09:26 张保维 阅读(661) 评论(0) 推荐(0)
摘要: for (int i = 0; i < 1000000 ; i++) { //使用Pool的方式 调用Redis JedisPool jedisPool = SpringContextHolder.getBean(JedisPool.class); Jedis jedis = jedisPool.getResourc... 阅读全文
posted @ 2016-12-21 09:09 张保维 阅读(9073) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 31 下一页