zoukankan      html  css  js  c++  java
  • Spring中pom文件所需节点

     <properties>

            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

            <!--spring对应的版本号-->

            <spring.version>4.2.1.RELEASE</spring.version>

        </properties>

        <dependencies>

            <dependency>

                <groupId>aopalliance</groupId>

                <artifactId>aopalliance</artifactId>

                <version>1.0</version>

            </dependency>

            <dependency>

                <groupId>junit</groupId>

                <artifactId>junit</artifactId>

                <version>4.0</version>

                <scope>test</scope>

            </dependency>

            <!--引入需要的spring 核心jar-->

            <dependency>

                <groupId>org.springframework</groupId>

                <artifactId>spring-context</artifactId>

                <version>${spring.version}</version>

            </dependency>

            <dependency>

                <groupId>org.springframework</groupId>

                <artifactId>spring-core</artifactId>

                <version>${spring.version}</version>

            </dependency>

            <dependency>

                <groupId>org.springframework</groupId>

                <artifactId>spring-aop</artifactId>

                <version>${spring.version}</version>

            </dependency>

            <dependency>

                <groupId>org.springframework</groupId>

                <artifactId>spring-beans</artifactId>

                <version>${spring.version}</version>

            </dependency>

            <dependency>

                <groupId>org.springframework</groupId>

                <artifactId>spring-expression</artifactId>

                <version>${spring.version}</version>

            </dependency>

            <dependency>

                <groupId>commons-logging</groupId>

                <artifactId>commons-logging</artifactId>

                <version>1.1.1</version>

            </dependency>

            <!--引入mysql的驱动包-->

            <dependency>

                <groupId>mysql</groupId>

                <artifactId>mysql-connector-java</artifactId>

                <version>5.1.26</version>

            </dependency>

            <!--配置jdbc需要的数据源-->

            <dependency>

                <groupId>commons-pool</groupId>

                <artifactId>commons-pool</artifactId>

                <version>1.6</version>

            </dependency>

            <dependency>

                <groupId>commons-dbcp</groupId>

                <artifactId>commons-dbcp</artifactId>

                <version>1.4</version>

            </dependency>

            <dependency>

                <groupId>c3p0</groupId>

                <artifactId>c3p0</artifactId>

                <version>0.9.1.2</version>

            </dependency>

            <!--SpringJDBC需要的jar-->

            <dependency>

                <groupId>org.springframework</groupId>

                <artifactId>spring-jdbc</artifactId>

                <version>${spring.version}</version>

            </dependency>

            <!--aspectj需要的jar-->

            <dependency>

                <groupId>org.aspectj</groupId>

                <artifactId>aspectjweaver</artifactId>

                <version>1.6.8</version>

            </dependency>

            <!--spring整合aspect需要的jar-->

            <dependency>

                <groupId>org.springframework</groupId>

                <artifactId>spring-aspects</artifactId>

                <version>${spring.version}</version>

            </dependency>

            <!--引入spring需要的事务jar-->

            <dependency>

                <groupId>org.springframework</groupId>

                <artifactId>spring-tx</artifactId>

                <version>${spring.version}</version>

            </dependency>

    </dependencies>

  • 相关阅读:
    手把手教你用动软.net生成器
    三层架构的优缺点
    BLL.DAL.表现层作用
    session的属性/方法/事件
    string.IsNullOrEmpty的用法
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="Keywords" content="" />
    var ev = document.all ? window.event : e;
    《C++ Primer 4th》读书笔记 第3章-标准库类型
    《Unix环境高级编程》读书笔记 第7章-进程环境
  • 原文地址:https://www.cnblogs.com/fl72/p/9625697.html
Copyright © 2011-2022 走看看