---
title: "tomcat 404解决"
author: "xcly"
date: "2019-02-27T17:06:43Z"
tags: []
categories: ["互联网"]
slug: "tomcat-404"
draft: false
lastmod: "2019-02-27T17:08:49Z"
id: 2438198
url: "https://xcly.iteye.com/blog/2438198"
---

今日工作： 

   一   为了解决等保定级渗透测试中，springboot不存在路径的问题， 对tomcat做error错误配置。

  1. webapps/ROOT中加入404错误公共页面及相关样式文件

  2. 修改Tomcat conf/web.xml最底端加入 

  &lt;error-page&gt;

        &lt;error-code&gt;404&lt;/error-code&gt;

        &lt;location&gt;/404.html&lt;/location&gt;

    &lt;/error-page&gt;

   

   二 工作2  假期定义表中加入了2019年的放假休假数据。  

   三  阿里云RDS又到了续费的时间

   四  转移了部分图片数据从218到39