HTTP Status 404 – 未找到

eclipse中maven java项目遇到的问题 解决办法

HTTP Status 404 – 未找到

Type Status Report

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

Apache Tomcat/9.0.24

我遇到的问题中项目有个红叉,查看错误是:
Description Resource Path Location Type
Java compiler level does not match the version of the installed Java project facet. Unknown Faceted Project Problem (Java Version Mismatch)
解决办法:https://blog.csdn.net/chszs/article/details/8125828
注:不要右键点击项目,maven–更新项目
然后还是404没找到。继续,最后按照这个解决了
https://www.cnblogs.com/liun1994/p/7173052.html
看看开的几个项目中有没有类名相同的。在web.xml文件中包名是否正确等等。

发布了6 篇原创文章 · 获赞 2 · 访问量 1万+

猜你喜欢

转载自blog.csdn.net/Mr_ZHOUZHOU/article/details/101013048