IDEA中Maven管理下添加mysql依赖


只需要在pom.xml中添加依赖就可以了,下面是配置文件。

         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    4.0.0


    com.suixue
    example
    1.0-SNAPSHOT


   
       
            junit
            junit
            4.11
            jar
            test
       



       
            org.springframework
            spring-context
            4.1.6.RELEASE
            jar
       



       
            log4j
            log4j
            1.2.17
            jar
       



       
            com.fasterxml.jackson.core
            jackson-core
            2.2.1
       

       
            com.fasterxml.jackson.core
            jackson-databind
            2.1.3
       

       
            com.fasterxml.jackson.core
            jackson-annotations
            2.1.2
       



       
            mysql
            mysql-connector-java
            5.1.25
       



   





你可能感兴趣的:(数据结构)