个人博客网站的搭建之简易图片服务器篇

编程入门 行业动态 更新时间:2024-10-22 20:31:37

个人博客网站的搭建之<a href=https://www.elefans.com/category/jswz/34/1769136.html style=简易图片服务器篇"/>

个人博客网站的搭建之简易图片服务器篇

个人博客网站的搭建之简易图片服务器篇

  • 本文主要介绍搭建图片服务器的过程
  1. 服务器:Tomcat 9.0.20
  2. 后台:Spring Boot
  3. IDE:Eclipse 2019-03
  4. JDK:1.8

详细过程

  1. 使用STS新建SpringBoot项目,打包方式记得改为War(STS:eclipse关于spring的插件)
  2. 修改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>

更多推荐

个人博客网站的搭建之简易图片服务器篇

本文发布于:2024-02-12 19:55:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1689198.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:简易   博客网站   服务器   图片

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!