上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: 你可能想要配置 Maven 使其完全跳过单元测试。 可能你有一个很大的系统,单元测试需要花好多分钟来完成,而你不想在生成最终输出前等单元测试完成。 你可能正工作在一个遗留系统上面,这个系统有一系列的失败的单元测试,你可能仅仅想要生成一个 JAR 而不是去修复所有的单元测试。 Maven 提供了跳过单元测试的能力,只需要使用 Surefire 插件的 skip 参数。 在命令行,只要简单的给任何目标... 阅读全文
posted @ 2015-01-04 16:25 xiaotou745 阅读(4007) 评论(0) 推荐(0) 编辑
摘要: org.codehaus.jackson.map.JsonMappingException: No suitable constructor found for type org.codehaus.jackson.map.JsonMappingException: No suitable constructor foundfor type [simple type,class test... 阅读全文
posted @ 2014-12-30 11:44 xiaotou745 阅读(4618) 评论(0) 推荐(0) 编辑
摘要: 显示系统日期 要显示系统日期,只要输入: $ date Thu Dec 5 22:55:41 WIB 2013 格式化显示日期 日期有很多格式。如果你不喜欢默认的格式,你可以换一种格式。你可能会想"为什么我需要改变格式? 默认的输出对我足够了。" 是的,你说的对,但是当你在编程时,默认输出或许无法满足你的需求,因此需要一些自定义输出。 RFC 2822 的日期与时间输出格式 $ da... 阅读全文
posted @ 2014-12-23 16:22 xiaotou745 阅读(12702) 评论(0) 推荐(0) 编辑
摘要: spring-data-redis序列化策略 spring-data-redis提供了多种serializer策略,这对使用jedis的开发者而言,实在是非常便捷。sdr提供了4种内置的serializer: JdkSerializationRedisSerializer:使用JDK的序列化手段(serializable接口,ObjectInputStrean,ObjectOutputStre... 阅读全文
posted @ 2014-12-12 11:42 xiaotou745 阅读(798) 评论(0) 推荐(0) 编辑
摘要: Symptoms Accessing certain JIRA pages result in: SEVERE: Internal server error com.atlassian.jira.issue.index.SearchUnavailableException: com.atlassian.util.concurrent.LazyReference$In... 阅读全文
posted @ 2014-12-11 11:07 xiaotou745 阅读(1626) 评论(0) 推荐(0) 编辑
摘要: Symptoms After restarting JIRA, the following error appeared: JIRA Startup Failed You canno... 阅读全文
posted @ 2014-12-11 11:05 xiaotou745 阅读(2004) 评论(0) 推荐(0) 编辑
摘要: 修改了编译级别之后出现如下错误提示: Description ResourcePath LocationType Java compiler level does not match the version of the installed Java project facet.SSJ UnknownFaceted Project Problem (Java Version Mismatch)... 阅读全文
posted @ 2014-12-10 10:28 xiaotou745 阅读(4215) 评论(0) 推荐(1) 编辑
摘要: 依赖范围控制哪些依赖在哪些classpath中可用,哪些依赖包含在一个应用中。让我们详细看一下每一种范围: compile(编译范围) compile是默认的范围;如果没有提供一个范围,那该依赖的范围就是编译范围。编译范围依赖在所有的classpath中可用,同时它们也会被打包。 provided(已提供范围) provided依... 阅读全文
posted @ 2014-12-09 19:40 xiaotou745 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 1:Maven命令下载源码和javadocs 当在IDE中使用Maven时如果想要看引用的jar包中类的源码和javadoc需要通过maven命令下载这些源码,然后再进行引入,通过mvn命令能够容易的达到这个目的: mvn dependency:sources mvn dependency:resolve -Dclassifier=javadoc 命令使用方法:首先进入到相应的pom.xm... 阅读全文
posted @ 2014-12-09 19:39 xiaotou745 阅读(330) 评论(0) 推荐(0) 编辑
摘要: Redis 官网:http://redis.io/ 中文:http://www.redis.cn/topics/replication.html http://www.redis.cn/ Redis on Wndows: MS Open Tech team开发了windows版的redis,地址:http://msopentech.com/blog/201... 阅读全文
posted @ 2014-12-09 10:59 xiaotou745 阅读(160) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 13 下一页