spring mvc构建WEB应用程序入门例子

2020-11-27 07:26

阅读:863

 properties>
      spring.version>3.2.1.RELEASEspring.version>
  properties>
  dependencies>
          dependency>
                groupId>org.springframeworkgroupId>
                artifactId>spring-webmvcartifactId>
                version>${spring.version}version>
            dependency>
            dependency>
                groupId>org.springframeworkgroupId>
                artifactId>spring-webartifactId>
                version>${spring.version}version>
            dependency>
            dependency>
                groupId>org.springframeworkgroupId>
                artifactId>spring-contextartifactId>
                version>${spring.version}version>
            dependency>
            dependency>
                groupId>org.springframeworkgroupId>
                artifactId>spring-coreartifactId>
                version>${spring.version}version>
            dependency>
            dependency>
                groupId>org.springframeworkgroupId>
                artifactId>spring-beansartifactId>
                version>${spring.version}version>
            dependency>
            dependency>
                groupId>org.springframeworkgroupId>
                artifactId>spring-aopartifactId>
                version>${spring.version}version>
            dependency>
            dependency>
                groupId>org.springframeworkgroupId>
                artifactId>spring-txartifactId>
                version>${spring.version}version>
            dependency>
            dependency>
                groupId>org.springframeworkgroupId>
                artifactId>spring-jdbcartifactId>
                version>${spring.version}version>
            dependency>
            dependency>
                groupId>org.springframeworkgroupId>
                artifactId>spring-testartifactId>
                version>${spring.version}version>
            dependency>
            dependency>
                groupId>org.springframeworkgroupId>
                artifactId>spring-context-supportartifactId>
                version>${spring.version}version>
            dependency>

          dependency>
            groupId>log4jgroupId>
            artifactId>log4jartifactId>
            version>1.2.16version>
        dependency>
        dependency>
            groupId>junitgroupId>
            artifactId>junitartifactId>
            version>4.8.2version>
        dependency>
        dependency>
                groupId>org.apache.velocitygroupId>
                artifactId>velocityartifactId>
                version>1.7version>
            dependency>
            dependency>
                groupId>org.apache.velocitygroupId>
                artifactId>velocity-toolsartifactId>
                version>2.0version>
                exclusions>
                    exclusion>
                        groupId>org.apache.strutsgroupId>
                        artifactId>struts-coreartifactId>
                    exclusion>
                    exclusion>
                        groupId>org.apache.strutsgroupId>
                        artifactId>struts-taglibartifactId>
                    exclusion>
                    exclusion>
                        groupId>org.apache.strutsgroupId>
                        artifactId>struts-tilesartifactId>
                    exclusion>
                    exclusion>
                        groupId>sslextgroupId>
                        artifactId>sslextartifactId>
                    exclusion>
                exclusions>
            dependency>

            dependency>
                groupId>servletapigroupId>
                artifactId>servlet-apiartifactId>
                version>2.4version>
                optional>trueoptional>
            dependency>
            dependency>
                groupId>javax.servletgroupId>
                artifactId>jstlartifactId>
                version>1.2version>
            dependency>
            dependency>
                groupId>jspapigroupId>
                artifactId>jsp-apiartifactId>
                version>2.0version>
                optional>trueoptional>
            dependency>
  dependencies>


评论


亲,登录后才可以留言!