IDEA-解决HTTP Status 404 问题(SSM整合项目)

IDEA-解决HTTP Status 404 问题(SSM整合项目)

最近从网上down了个SSM的项目

链接:https://github.com/lxy-go/SSM-CRUD


用idea运行时候总是出现HTTP Status 404

开始以为是Web.xml问题,或者是我的路径输入有误,但是发现都不是。


最后解决方法:

在idea中配置web.xml和web资源目录

Project Structure>Modules>Web中,配置web.xml和web资源目录,具体如下:

这里写图片描述



持续更新中…

文章参考学习地址:https://blog.csdn.net/qq_32715873/article/details/80857883

最近从网上down了个SSM的项目

链接:https://github.com/lxy-go/SSM-CRUD


用idea运行时候总是出现HTTP Status 404

开始以为是Web.xml问题,或者是我的路径输入有误,但是发现都不是。


最后解决方法:

在idea中配置web.xml和web资源目录

Project Structure>Modules>Web中,配置web.xml和web资源目录,具体如下:

这里写图片描述


猜你喜欢

转载自blog.csdn.net/weixin_44325444/article/details/106323468