pom.xml 引入 jar包
1...pom.xml
1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 5 <modelVersion>4.0.0</modelVersion> 6 7 <groupId>com.wsc</groupId> 8 <artifactId>ssm_parentProductPageHelper</artifactId> 9 <packaging>pom</packaging> 10 <version>1.0-SNAPSHOT</version> 11 <modules> 12 <module>ssm_domainProductPageHelper</module> 13 <module>ssm_daoProductPageHelper</module> 14 <module>ssm_serviceProductPageHelper</module> 15 <module>ssm_webProductPageHelper</module> 16 <module>ssm_utilsProductPageHelper</module> 17 </modules> 18 19 20 <properties> 21 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 22 <maven.compiler.source>1.8</maven.compiler.source> 23 <maven.compiler.target>1.8</maven.compiler.target> 24 <spring-version>5.0.2.RELEASE</spring-version> 25 <spring-security-version>5.0.2.RELEASE</spring-security-version> 26 </properties> 27 <dependencies> 28 <!-- spring--> 29 <dependency> 30 <groupId>org.springframework</groupId> 31 <artifactId>spring-context</artifactId> 32 <version>${spring-version}</version> 33 </dependency> 34 <!--事物--> 35 <dependency> 36 <groupId>org.springframework</groupId> 37 <artifactId>spring-tx</artifactId> 38 <version>${spring-version}</version> 39 </dependency> 40 <!--jdbc--> 41 <dependency> 42 <groupId>org.springframework</groupId> 43 <artifactId>spring-jdbc</artifactId> 44 <version>${spring-version}</version> 45 </dependency> 46 <!--测试--> 47 <dependency> 48 <groupId>org.springframework</groupId> 49 <artifactId>spring-test</artifactId> 50 <version>${spring-version}</version> 51 </dependency> 52 <!--springMVC--> 53 <dependency> 54 <groupId>org.springframework</groupId> 55 <artifactId>spring-webmvc</artifactId> 56 <version>${spring-version}</version> 57 </dependency> 58 59 60 61 <!-- mybatis--> 62 <dependency> 63 <groupId>org.mybatis</groupId> 64 <artifactId>mybatis</artifactId> 65 <version>3.4.5</version> 66 </dependency> 67 <!--mybatis和spring整合包--> 68 <dependency> 69 <groupId>org.mybatis</groupId> 70 <artifactId>mybatis-spring</artifactId> 71 <version>1.3.1</version> 72 </dependency> 73 <!--切面--> 74 <dependency> 75 <groupId>org.aspectj</groupId> 76 <artifactId>aspectjweaver</artifactId> 77 <version>1.8.9</version> 78 </dependency> 79 <!--数据源--> 80 <dependency> 81 <groupId>c3p0</groupId> 82 <artifactId>c3p0</artifactId> 83 <version>0.9.1.2</version> 84 </dependency> 85 <!--数据源--> 86 <dependency> 87 <groupId>com.alibaba</groupId> 88 <artifactId>druid</artifactId> 89 <version>1.0.9</version> 90 </dependency> 91 <!--单元测试--> 92 <dependency> 93 <groupId>junit</groupId> 94 <artifactId>junit</artifactId> 95 <version>4.12</version> 96 <scope>test</scope> 97 </dependency> 98 99 <!--servletAPI--> 100 <dependency> 101 <groupId>javax.servlet</groupId> 102 <artifactId>servlet-api</artifactId> 103 <version>2.5</version> 104 <scope>provided</scope> 105 </dependency> 106 <dependency> 107 <groupId>javax.servlet</groupId> 108 <artifactId>jsp-api</artifactId> 109 <version>2.0</version> 110 <scope>provided</scope> 111 </dependency> 112 113 <!--日志--> 114 <dependency> 115 <groupId>log4j</groupId> 116 <artifactId>log4j</artifactId> 117 <version>1.2.17</version> 118 </dependency> 119 <dependency> 120 <groupId>org.apache.logging.log4j</groupId> 121 <artifactId>log4j-api</artifactId> 122 <version>2.10.0</version> 123 </dependency> 124 <dependency> 125 <groupId>org.apache.logging.log4j</groupId> 126 <artifactId>log4j-core</artifactId> 127 <version>2.10.0</version> 128 </dependency> 129 <dependency> 130 <groupId>org.apache.logging.log4j</groupId> 131 <artifactId>log4j-jcl</artifactId> 132 <version>2.9.1</version> 133 </dependency> 134 <dependency> 135 <groupId>org.apache.logging.log4j</groupId> 136 <artifactId>log4j-slf4j-impl</artifactId> 137 <version>2.9.1</version> 138 </dependency> 139 <dependency> 140 <groupId>org.apache.logging.log4j</groupId> 141 <artifactId>log4j-web</artifactId> 142 <version>2.9.1</version> 143 </dependency> 144 <dependency> 145 <groupId>org.apache.logging.log4j</groupId> 146 <artifactId>log4j-slf4j-impl</artifactId> 147 <version>2.9.1</version> 148 </dependency> 149 <dependency> 150 <groupId>org.slf4j</groupId> 151 <artifactId>slf4j-api</artifactId> 152 <version>1.7.25</version> 153 </dependency> 154 155 <!--mysql--> 156 <dependency> 157 <groupId>mysql</groupId> 158 <artifactId>mysql-connector-java</artifactId> 159 <version>5.1.6</version> 160 </dependency> 161 162 <!--jstl--> 163 <dependency> 164 <groupId>jstl</groupId> 165 <artifactId>jstl</artifactId> 166 <version>1.2</version> 167 </dependency> 168 <dependency> 169 <groupId>taglibs</groupId> 170 <artifactId>standard</artifactId> 171 <version>1.1.2</version> 172 </dependency> 173 <!--文件上传--> 174 <dependency> 175 <groupId>commons-fileupload</groupId> 176 <artifactId>commons-fileupload</artifactId> 177 <version>1.3.1</version> 178 </dependency> 179 <dependency> 180 <!-- 分页助手--> 181 <groupId>com.github.pagehelper</groupId> 182 <artifactId>pagehelper</artifactId> 183 <version>5.1.2</version> 184 </dependency> 185 <dependency> 186 <groupId>commons-io</groupId> 187 <artifactId>commons-io</artifactId> 188 <version>2.5</version> 189 </dependency> 190 191 <dependency> 192 <groupId>org.springframework.security</groupId> 193 <artifactId>spring-security-web</artifactId> 194 <version>${spring-security-version}</version> 195 </dependency> 196 <dependency> 197 <groupId>org.springframework.security</groupId> 198 <artifactId>spring-security-config</artifactId> 199 <version>${spring-security-version}</version> 200 </dependency> 201 <dependency> 202 <groupId>org.springframework.security</groupId> 203 <artifactId>spring-security-core</artifactId> 204 <version>${spring-security-version}</version> 205 </dependency> 206 <dependency> 207 <groupId>org.springframework.security</groupId> 208 <artifactId>spring-security-taglibs</artifactId> 209 <version>${spring-security-version}</version> 210 </dependency> 211 </dependencies> 212 </project>
学习不分先后,知识不分多少;事无巨细,当以虚心求教;三人行,必有我师焉!!!wished for you successed !!!