简易图片服务器篇"/>
个人博客网站的搭建之简易图片服务器篇
个人博客网站的搭建之简易图片服务器篇
- 本文主要介绍搭建图片服务器的过程
- 服务器:Tomcat 9.0.20
- 后台:Spring Boot
- IDE:Eclipse 2019-03
- JDK:1.8
详细过程
- 使用STS新建SpringBoot项目,打包方式记得改为War(STS:eclipse关于spring的插件)
- 修改pom.xml ,直接看代码吧
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=".0.0" xmlns:xsi=""xsi:schemaLocation=".0.0 .0.0.xsd"><modelVersion>4.0.0</modelVersion><parent><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-parent</artifactId><version>2.1.7.RELEASE</version><relativePath/> <!-- lookup parent from repository --></parent><groupId>com.mx</groupId><artifactId>file-server</artifactId><version>0.0.1-SNAPSHOT</version><packaging>war</packaging><name>file-server</name><description>file-server project for Spring Boot</description><properties><java.version>1.8</java.version></properties><dependencies><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId></dependency><dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web-services</artifactId></dependency>
更多推荐
个人博客网站的搭建之简易图片服务器篇
发布评论