04 2016 档案
摘要:今天在做整合mybatis和spring3.2的时候,报了fail to read candidate component nested exception的异常,后来查了资料才发现,不是因为配置的问题. 是因为spring3.2及其以下的版本和jdk8版本支持,要想整合, 一,把spring换成3
阅读全文
摘要:JUnit 4全面引入了Annotation来执行我们编写的测试。 关于JUnit 3的使用可以参见:http://www.cnblogs.com/mengdd/archive/2013/03/26/2983565.html 使用JUnit 4进行测试: 1.新建项目,引用JUnit 4类库。 2.
阅读全文
摘要:今天在学习junit4测试的时实现例子的时候,当我在java build path加入junit4的包之后,eclipse显示了一个warning, Classpath entry org.eclipse.jdt.junit.JUNIT_CONTAINER/4 will not be exporte
阅读全文