SSM工程常见问题
1、引入Junit测试
<!--引入junit单元测试,两个一起引用,spring-test版本要与Spring-core保持一致--> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> <version>4.1.7.RELEASE</version> <scope>test</scope> </dependency>