web开发:使用tomcat部署时出现“The origin server did not find a......”的错误。

web开发:使用tomcat部署时出现 Description: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.的错误。

在网上搜了好多资料,都解决不了。
后来自己慢慢检查才发见是web.xml文件的问题。



web.xml文件中使用

metadata-complete="true"

所以改为flase或者删掉也行。

哈哈哈,我是小白,有什么不对的地方欢迎大神指出哈。

你可能感兴趣的:(web开发:使用tomcat部署时出现“The origin server did not find a......”的错误。)