- 博客(2)
- 收藏
- 关注
原创 Spring中使用SpringJunit单元测试
一般基本用法是先写一个SpringJunit的单元测试基类,写单元测试类时继承该基类即可。 1.SpringJunit基类 import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.j...
2018-07-24 19:39:31 499
原创 Spring3.2.8以下和JDK1.8报错:probably due to a new Java class file version that isn't supported yet
Spring3.2.8版本及其以下不支持JDK1.8编译的class。运行JDK1.8编译过的字节码就会报这个错,降低JDK为1.8以下即可,或者如果要用JDK1.8,那么就得更新到Spring4。...
2018-07-07 17:35:54 2205
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人