What are the jars needed for only Spring-MVC?

前端 未结 2 1121
被撕碎了的回忆
被撕碎了的回忆 2021-01-13 21:49

I need to run the Spring-MVC in my scratch project. At the same time i have minimum memory area to store all the jar files. So any body recommend me only need for the Spring

相关标签:
2条回答
  • 2021-01-13 22:27
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-web</artifactId>
      <version>3.1.0.RELEASE</version>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-core</artifactId>
      <version>3.1.0.RELEASE</version>
      <exclusions>
        <exclusion>
          <artifactId>commons-logging</artifactId>
          <groupId>commons-logging</groupId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>org.springframework</groupId>
      <artifactId>spring-webmvc</artifactId>
      <version>3.1.0.RELEASE</version>
    </dependency>
    
    0 讨论(0)
  • 2021-01-13 22:28

    according to maven, spring-webmvc 3.1.2 need following jar:

    • aopalliance-1.0.jar
    • commons-logging-1.1.1.jar
    • spring-webmvc-3.1.2.RELEASE.jar
    • spring-asm-3.1.2.RELEASE.jar
    • spring-beans-3.1.2.RELEASE.jar
    • spring-core-3.1.2.RELEASE.jar
    • spring-context-3.1.2.RELEASE.jar
    • spring-aop-3.1.2.RELEASE.jar
    • spring-expression-3.1.2.RELEASE.jar
    • spring-context-support-3.1.2.RELEASE.jar
    • spring-web-3.1.2.RELEASE.jar

    things provided by servlet container (f.e. servlet-api) are left out.

    0 讨论(0)
提交回复
热议问题