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>
 2、文件上传与下载

   跳转链接

 
原文地址:https://www.cnblogs.com/flame540/p/13628666.html