# blog1.0
集成SSM,开发属于自己的博客网站
## 一:需求分析,创建数据库
导入sql文件

## 二:创建项目
1. create new Project

2. 左边选中Maven
3. 勾选Create from archetype
4. 选中 org.apache.maven.archetypes:maven-archetype-webapp

5. GroupId: 填写项目组的名字, ArtifactId: 填写项目的名字
6. 直接下一步

7. 确定路径,开工!

8. 可以开始打代码了

## 二:部署环境
### 1. 配置pom.xml
修改pom.xml为下面的代码,为了确保导入成功,右键点击pom.xml->Maven->Reimport
```
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" 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">
<modelVersion>4.0.0</modelVersion>
<groupId>XXX</groupId>
<artifactId>XXX</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>war</packaging>
<name>XXX Maven Webapp</name>
<!-- FIXME change it to the project's website -->
<url>http://www.example.com</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<spring.version>4.3.4.RELEASE</spring.version>
<!--<spring.version>3.2.0.RELEASE</spring.version>-->
<pagehelper.version>5.1.2-beta</pagehelper.version>
<mysql.version>5.1.6</mysql.version>
<mybatis.spring.version>1.2.3</mybatis.spring.version>
<mybatis.version>3.1.1</mybatis.version>
<mybatis.generator.version>1.3.5</mybatis.generator.version>
<junit.version>4.12</junit.version>
<jstl.version>1.2</jstl.version>
<jsqlparser.version>1.0</jsqlparser.version>
<jackson.version>2.1.0</jackson.version>
<servlet-api.version>3.1.0</servlet-api.version>
<druid.version>1.0.18</druid.version>
<log4j.version>1.2.16</log4j.version>
<commons-logging.version>1.2</commons-logging.version>
<commons-fileupload.version>1.2.1</commons-fileupload.version>
<commons-io.version>1.3.2</commons-io.version>
<commons-lang.version>2.6</commons-lang.version>
<aopalliance.version>1.0</aopalliance.version>
<mybatis-generator.version>1.3.5</mybatis-generator.version>
<basedir>com.lh</basedir>
<jackson.version>2.5.2</jackson.version>
<CommentUtils.version>1.7</CommentUtils.version>
</properties>
<dependencies>
<!-- https://mvnrepository.com/artifact/xin.xihc/CommonUtils -->
<dependency>
<groupId>xin.xihc</groupId>
<artifactId>CommonUtils</artifactId>
<version>${CommentUtils.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>${mybatis.version}</version>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-spring</artifactId>
<version>${mybatis.spring.version}</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>${mysql.version}</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>${druid.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- JSP相关 -->
<dependency>
<groupId>jstl</groupId>
<artifactId>jstl</artifactId>
<version>${jstl.version}</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${servlet-api.version}</version>
<scope>provided</scope>
</dependency>
<!-- pageHelper -->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>${pagehelper.version}</version>
</dependency>
<!--jsqlparser-->
<dependency>
<groupId>com.github.jsqlparser</groupId>
<artifactId>jsqlparser</artifactId>
<version>${jsqlparser.version}</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>${commons-logging.version}</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>${commons-fileupload.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}<

酷爱码
- 粉丝: 9890
- 资源: 2099
最新资源
- 旧物置换网站(基于springboot,mysql,java).zip
- 基于2-RC模型的锂电池SOC预测与Matlab Simulink建模仿真研究,基于2-RC模型的锂电池SOC估算及Matlab Simulink建模仿真研究,锂电池soc 2-RC模型,matla
- STM32单片机指纹密码锁仿真系统:键盘解锁、指纹解锁、修改密码、警报蜂鸣器与LED灯显示功能,STM32单片机指纹密码锁仿真系统:键盘解锁、指纹解锁、修改密码、警报蜂鸣器与LED灯显示功能,STM3
- TensorFlow 风格迁移艺术化图片集
- 西门子PLC 1200与G120变频器Modbus RTU通讯实现详解:PID自写FB块与触摸屏集成,手动自动功能切换,CAD电气注释及Modbus通讯报文分析,西门子PLC 1200与多台变频器Mo
- 3DMAX摄影机参考图像插件下载
- 计算机等级考试一级MSOffice练习系统V1.8
- 光伏系统Boost电路单相SPWM逆变并网仿真研究:400V直流母线电压至220V交流输出性能优化与THD控制,光伏系统Boost电路单相SPWM逆变并网仿真研究:400V直流母线电压至220V交流输
- 深度解析:基于Yolov5的布匹缺陷智能检测方法研究(含代码及完整数据集分析与应用案例),基于Yolov5的布匹缺陷检测技术研究与实现:源码及数据集分享,基于yolov5的布匹缺陷检测(含源码和数据集
- Power BI 简单使用
- 2 毕业设计论文任务书、开题报告、文献阅读汇总表、申请答辩表、教师评阅表、盲审表、答辩表、成绩评定表.docx
- 基于电压反馈的永磁同步电机超前角弱磁控制策略:抵抗负载扰动,平稳过渡至弱磁区域,确保电机稳定高效运行,基于电压反馈的永磁同步电机超前角弱磁控制策略:抵抗负载扰动,平稳过渡至弱磁区域,实现转速与转矩的稳
- 计算机等级考试一级WPSOffice练习系统V1.8
- 包装产线轻载搬运机器人运动学分析与轨迹规划.doc
- 基于改进灰狼算法的风光储微电网的储能容量优化研究.docx
- 云原生后端核心技术解析:引领后端开发新时代的架构与应用
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈


