diff --git a/project/.idea/artifacts/project_war_exploded.xml b/project/.idea/artifacts/project_war_exploded.xml new file mode 100644 index 0000000..1c2f4f5 --- /dev/null +++ b/project/.idea/artifacts/project_war_exploded.xml @@ -0,0 +1,13 @@ + + + $PROJECT_DIR$/out/artifacts/project_war_exploded + + + + + + + + + + \ No newline at end of file diff --git a/project/.idea/sqldialects.xml b/project/.idea/sqldialects.xml new file mode 100644 index 0000000..af0e43a --- /dev/null +++ b/project/.idea/sqldialects.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/project/pom.xml b/project/pom.xml index c8ccd99..369a087 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -14,4 +14,70 @@ UTF-8 + + + org.springframework + spring-context + 5.3.19 + + + org.springframework + spring-web + 6.0.0 + + + org.springframework + spring-webmvc + 6.0.9 + + + + + org.mybatis + mybatis + 3.5.7 + + + org.mybatis + mybatis-spring + 2.0.7 + + + + + javax.servlet + javax.servlet-api + 4.0.1 + provided + + + javax.servlet.jsp + javax.servlet.jsp-api + 2.3.3 + provided + + + + + org.apache.tomcat.embed + tomcat-embed-core + 9.0.73 + provided + + + + + mysql + mysql-connector-java + 8.0.28 + + + + + org.apache.logging.log4j + log4j-core + 2.20.0 + + + \ No newline at end of file diff --git a/project/src/main/resources/db.properties b/project/src/main/resources/db.properties new file mode 100644 index 0000000..e3601cd --- /dev/null +++ b/project/src/main/resources/db.properties @@ -0,0 +1,4 @@ +mysql.driver=com.mysql.cj.jdbc.Driver +mysql.url=jdbc:mysql://192.168.8.149:3306/micro_message?serverTimezone=UTC&characterEncoding=utf8&useUnicode=true&useSSL=false +mysql.username=root +mysql.password=chenx221 diff --git a/project/src/main/resources/log4j2.xml b/project/src/main/resources/log4j2.xml new file mode 100644 index 0000000..fba035c --- /dev/null +++ b/project/src/main/resources/log4j2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/project/src/main/resources/mybatis-config.xml b/project/src/main/resources/mybatis-config.xml new file mode 100644 index 0000000..afd5400 --- /dev/null +++ b/project/src/main/resources/mybatis-config.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + diff --git a/project/web/WEB-INF/web.xml b/project/web/WEB-INF/web.xml new file mode 100644 index 0000000..d80081d --- /dev/null +++ b/project/web/WEB-INF/web.xml @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/project/web/index.jsp b/project/web/index.jsp new file mode 100644 index 0000000..05cc0b5 --- /dev/null +++ b/project/web/index.jsp @@ -0,0 +1,16 @@ +<%-- + Created by IntelliJ IDEA. + User: chenx + Date: 6/2/2023 + Time: 12:55 PM + To change this template use File | Settings | File Templates. +--%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + $Title$ + + + $END$ + +