结对作业开发进度(第五天)

第五天实现了连接mysql数据库,并配置相关的依赖信息

 依赖:

 1 <?xml version="1.0" encoding="UTF-8"?>
 2 
 3 <project xmlns="http://maven.apache.org/POM/4.0.0" 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>org.example</groupId>
 8   <artifactId>ditie</artifactId>
 9   <version>1.0-SNAPSHOT</version>
10   <packaging>war</packaging>
11 
12   <name>ditie Maven Webapp</name>
13   <!-- FIXME change it to the project's website -->
14   <url>http://www.example.com</url>
15 
16   <properties>
17     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18     <maven.compiler.source>1.7</maven.compiler.source>
19     <maven.compiler.target>1.7</maven.compiler.target>
20   </properties>
21 
22 
23   <dependencies>
24     <!--Servlet-->
25     <dependency>
26       <groupId>javax.servlet</groupId>
27       <artifactId>javax.servlet-api</artifactId>
28       <version>3.1.0</version>
29       <scope>provided</scope>
30     </dependency>
31 
32 
33     <!--MyBatis-->
34     <dependency>
35       <groupId>org.mybatis</groupId>
36       <artifactId>mybatis</artifactId>
37       <version>3.5.5</version>
38     </dependency>
39     <!--MySQL-->
40     <dependency>
41       <groupId>mysql</groupId>
42       <artifactId>mysql-connector-java</artifactId>
43       <version>8.0.21</version>
44     </dependency>
45 
46 
47     <!--fastjson-->
48     <dependency>
49       <groupId>com.alibaba</groupId>
50       <artifactId>fastjson</artifactId>
51       <version>1.2.62</version>
52     </dependency>
53 
54     <!--jsp-->
55 
56     <dependency>
57       <groupId>javax.servlet.jsp</groupId>
58       <artifactId>jsp-api</artifactId>
59       <version>2.2</version>
60       <scope>provided</scope>
61     </dependency>
62 
63     <!--jstl-->
64     <dependency>
65       <groupId>jstl</groupId>
66       <artifactId>jstl</artifactId>
67       <version>1.2</version>
68     </dependency>
69     <dependency>
70       <groupId>taglibs</groupId>
71       <artifactId>standard</artifactId>
72       <version>1.1.2</version>
73     </dependency>
74     <dependency>
75       <groupId>commons-codec</groupId>
76       <artifactId>commons-codec</artifactId>
77       <version>1.6</version>
78     </dependency>
79   </dependencies>
80 
81 
82   <build>
83     <plugins>
84       <plugin>
85         <groupId>org.apache.tomcat.maven</groupId>
86         <artifactId>tomcat7-maven-plugin</artifactId>
87         <version>2.2</version>
88       </plugin>
89     </plugins>
90 
91   </build>
92 </project>

 

posted @ 2024-04-26 14:45  连师傅只会helloword  阅读(1)  评论(0编辑  收藏  举报