1 <dependencies> 2 <!--servlet依赖 2 --> 3 <dependency> 4 <groupId>javax.servlet.jsp</groupId> 5 <artifactId>javax.servlet.jsp-api</artifactId> 6 <version>2.3.3</version> 7 </dependency> 8 9 <dependency> 10 <groupId>javax.servlet</groupId> 11 <artifactId>javax.servlet-api</artifactId> 12 <version>4.0.1</version> 13 <scope>provided</scope> 14 </dependency> 15 <!-- jstl的依赖 3 --> 16 <dependency> 17 <groupId>javax.servlet.jsp.jstl</groupId> 18 <artifactId>jstl-api</artifactId> 19 <version>1.2</version> 20 </dependency> 21 22 <dependency> 23 <groupId>taglibs</groupId> 24 <artifactId>standard</artifactId> 25 <version>1.1.2</version> 26 </dependency> 27 28 <dependency> 29 <groupId>javax.servlet</groupId> 30 <artifactId>jstl</artifactId> 31 <version>1.2</version> 32 </dependency> 33 <!-- 用来操作文件上传 --> 34 <dependency> 35 <groupId>commons-fileupload</groupId> 36 <artifactId>commons-fileupload</artifactId> 37 <version>1.3.3</version> 38 </dependency> 39 <!-- io流 --> 40 <dependency> 41 <groupId>commons-io</groupId> 42 <artifactId>commons-io</artifactId> 43 <version>2.11.0</version> 44 </dependency> 45 <!-- 数据库连接依赖 1 --> 46 <dependency> 47 <groupId>mysql</groupId> 48 <artifactId>mysql-connector-java</artifactId> 49 <version>8.0.19</version> 50 </dependency> 51 <!-- DBCP的依赖 2 --> 52 <dependency> 53 <groupId>commons-dbcp</groupId> 54 <artifactId>commons-dbcp</artifactId> 55 <version>1.4</version> 56 </dependency> 57 58 <dependency> 59 <groupId>commons-pool</groupId> 60 <artifactId>commons-pool</artifactId> 61 <version>1.4</version> 62 </dependency> 63 <!--c3p0的依赖 1 --> 64 <dependency> 65 <groupId>com.mchange</groupId> 66 <artifactId>c3p0</artifactId> 67 <version>0.9.5.2</version> 68 </dependency> 69 <!--druid数据源依赖 --> 70 <dependency> 71 <groupId>com.alibaba</groupId> 72 <artifactId>druid</artifactId> 73 <version>1.1.9</version> 74 </dependency> 75 <!--数据库CRUD操作的工具类--> 76 <dependency> 77 <groupId>commons-dbutils</groupId> 78 <artifactId>commons-dbutils</artifactId> 79 <version>1.6</version> 80 </dependency> 81 <!--jsp中使用一些标签库的依赖 2 --> 82 <dependency> 83 <groupId>org.apache.taglibs</groupId> 84 <artifactId>taglibs-standard-spec</artifactId> 85 <version>1.2.5</version> 86 </dependency> 87 88 <dependency> 89 <groupId>org.apache.taglibs</groupId> 90 <artifactId>taglibs-standard-impl</artifactId> 91 <version>1.2.5</version> 92 </dependency> 93 <!-- JUnit是用于编写和运行可重复的自动化测试的开源测试框架 2 --> 94 <dependency> 95 <groupId>junit</groupId> 96 <artifactId>junit</artifactId> 97 <version>4.13.1</version> 98 <scope>test</scope> 99 </dependency> 100 101 <dependency> 102 <groupId>org.junit.jupiter</groupId> 103 <artifactId>junit-jupiter</artifactId> 104 <version>RELEASE</version> 105 <scope>compile</scope> 106 </dependency> 107 </dependencies>
标签:常用,依赖,1.2,taglibs,commons,junit,Maven,servlet,javax From: https://www.cnblogs.com/kidzxy/p/16794833.html