内网CRM系统构建之项目搭建
Posted roland-piaget
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了内网CRM系统构建之项目搭建相关的知识,希望对你有一定的参考价值。
- 技术准备
- 前端,easy ui,js,html,css
- 后端java
- 框架SSM
- 步骤一:到spring boot官网下载核心文件
-
- 下载之后解压,放到工作空间的文件夹内
- 导入启动包
-
-
- 导入之后稍等片刻
-
- 点击pom.xml,配置
-
1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4 <modelVersion>4.0.0</modelVersion> 5 6 <groupId>com.bmw</groupId> 7 <artifactId>bmw_crm</artifactId> 8 <version>0.0.1-SNAPSHOT</version> 9 <packaging>jar</packaging> 10 11 <name>bmw_crm</name> 12 <description>Demo project for Spring Boot</description> 13 14 <parent> 15 <groupId>org.springframework.boot</groupId> 16 <artifactId>spring-boot-starter-parent</artifactId> 17 <version>1.5.1.RELEASE</version> 18 <relativePath /> <!-- lookup parent from repository --> 19 </parent> 20 21 <properties> 22 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 23 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> 24 <java.version>1.8</java.version> 25 <!-- set thymeleaf version --> 26 <thymeleaf.version>3.0.0.RELEASE</thymeleaf.version> 27 <thymeleaf-layout-dialect.version>2.0.0</thymeleaf-layout-dialect.version> 28 <!--set java version --> 29 </properties> 30 31 <dependencies> 32 <dependency> 33 <groupId>org.mybatis.spring.boot</groupId> 34 <artifactId>mybatis-spring-boot-starter</artifactId> 35 <version>1.3.0</version> 36 </dependency> 37 <dependency> 38 <groupId>org.mybatis.generator</groupId> 39 <artifactId>mybatis-generator-core</artifactId> 40 <version>1.3.5</version> 41 </dependency> 42 <dependency> 43 <groupId>org.springframework.boot</groupId> 44 <artifactId>spring-boot-starter-thymeleaf</artifactId> 45 </dependency> 46 <dependency> 47 <groupId>net.sourceforge.jexcelapi</groupId> 48 <artifactId>jxl</artifactId> 49 <version>2.6.10</version> 50 </dependency> 51 52 <dependency> 53 <groupId>mysql</groupId> 54 <artifactId>mysql-connector-java</artifactId> 55 <scope>runtime</scope> 56 </dependency> 57 58 <dependency> 59 <groupId>org.springframework.boot</groupId> 60 <artifactId>spring-boot-starter-test</artifactId> 61 <scope>test</scope> 62 </dependency> 63 64 <!--加密组件必要包 --> 65 <dependency> 66 <groupId>com.alibaba</groupId> 67 <artifactId>fastjson</artifactId> 68 <version>1.2.24</version> 69 </dependency> 70 <dependency> 71 <groupId>org.apache.commons</groupId> 72 <artifactId>commons-lang3</artifactId> 73 <version>3.2.1</version> 74 </dependency> 75 76 <!-- 支持Word文档的操作 --> 77 <dependency> 78 <groupId>org.apache.poi</groupId> 79 <artifactId>poi</artifactId> 80 <version>3.15</version> 81 </dependency> 82 <dependency> 83 <groupId>org.apache.poi</groupId> 84 <artifactId>poi-ooxml</artifactId> 85 <version>3.15</version> 86 </dependency> 87 <dependency> 88 <groupId>org.apache.poi</groupId> 89 <artifactId>poi-scratchpad</artifactId> 90 <version>3.15</version> 91 </dependency> 92 <dependency> 93 <groupId>commons-io</groupId> 94 <artifactId>commons-io</artifactId> 95 <version>2.5</version> 96 </dependency> 97 98 <dependency> 99 <groupId>org.springframework</groupId> 100 <artifactId>springloaded</artifactId> 101 <version>1.2.6.RELEASE</version> 102 </dependency> 103 <dependency> 104 <groupId>org.springframework.boot</groupId> 105 <artifactId>spring-boot-devtools</artifactId> 106 <version>1.3.0.RELEASE</version> 107 </dependency> 108 109 110 </dependencies> 111 112 <build> 113 <resources> 114 <resource> 115 <directory>src/main/resources</directory> 116 </resource> 117 </resources> 118 <plugins> 119 <plugin> 120 <groupId>org.springframework.boot</groupId> 121 <artifactId>spring-boot-maven-plugin</artifactId> 122 <configuration> 123 <fork>true</fork> 124 </configuration> 125 </plugin> 126 </plugins> 127 </build> 128 129 130 131 </project>
-
pom配置是spring boot的优点,在这里指定用什么包,以及版本号,然后maven可以自动导包,十分方便
- 贾跃亭:下周更新
以上是关于内网CRM系统构建之项目搭建的主要内容,如果未能解决你的问题,请参考以下文章