Type Status Report Message /$%7BpageContext.request.contextPath%7D/upload.do Description The origi(代

Posted 闲言_

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Type Status Report Message /$%7BpageContext.request.contextPath%7D/upload.do Description The origi(代相关的知识,希望对你有一定的参考价值。

错误产生环境

在普通的JavaWeb 项目中产生

错误描述

Type Status Report

Message /$%7BpageContext.request.contextPath%7D/upload.do

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

错误原因

IDEA使用maven archetype-webapp生成的web工程,默认创建的web版本为2.3,修改web.xml文件的约束即可

解决办法

修改前

<!DOCTYPE web-app PUBLIC
 "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
 "http://java.sun.com/dtd/web-app_2_3.dtd" >

<web-app>
  <display-name>Archetype Created Web Application</display-name>


  
</web-app>

修改后

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
         version="4.0"
         metadata-complete="true">

</web-app>

以上是关于Type Status Report Message /$%7BpageContext.request.contextPath%7D/upload.do Description The origi(代的主要内容,如果未能解决你的问题,请参考以下文章

HTTP Status 401- type Status report message description This request requires HTTP authentication (

Type Status Report Message /$%7BpageContext.request.contextPath%7D/upload.do Description The origi(代

解决 HTTP Status 500 - Unable to show problem report: freemarker.core.InvalidReferenceException:

fuelgauge

会说话的ABAP report

会说话的ABAP report