常用依赖包

2016-06-28  本文已影响31人  墨白找

maven中央仓库
http://maven.outofmemory.cn/


Spring Web

包含springMVC包

    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-web</artifactId>
        <version>4.1.6.RELEASE</version>
    </dependency>

Mybatis-Spring

mybatis,spring结合包

    <dependency>
        <groupId>org.mybatis</groupId>
        <artifactId>mybatis-spring</artifactId>
        <version>1.2.2</version>
    </dependency>

Junit

测试用

    <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.11</version>
    </dependency>

aspectjweaver

AOP面向切面的包

    <dependency>
        <groupId>org.aspectj</groupId>
        <artifactId>aspectjweaver</artifactId>
        <version>1.8.3</version>
    </dependency>

javax.servlet-api

    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>javax.servlet-api</artifactId>
        <version>3.0.1</version>
    </dependency>

mysql-connector-java

    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
        <version>5.1.31</version>
    </dependency>

commons-dbcp

连接池

    <dependency>
        <groupId>commons-dbcp</groupId>
        <artifactId>commons-dbcp</artifactId>
        <version>1.4</version>
    </dependency>

cglib

AOP代理

    <dependency>
        <groupId>cglib</groupId>
        <artifactId>cglib</artifactId>
        <version>3.1</version>
    </dependency>

jstl

视图

    <dependency>   
        <groupId>jstl</groupId> 
        <artifactId>jstl</artifactId>  
        <version>1.2</version> 
    </dependency> 
    <dependency>  
        <groupId>taglibs</groupId>
        <artifactId>standard</artifactId> 
        <version>1.1.2</version> 
    </dependency> 

上一篇下一篇

猜你喜欢

热点阅读