项目场景:
重置电脑后启动ssm项目报404错误
问题描述:
还有直接使用浏览器访问index.jsp页面出现
There is no configured/running web-servers found! Please, run any web-configuration and hit the Refr
原因分析:
因为代码没有发生改变,之前能跑现在肯定也能跑,因为重置电脑idea的一些配置没了,需要重新配置
因为配置不当
解决方案:
在project Structure 中配置Modules为Spring
在Factes 中配置为web,在左下方有fix按钮点击修复,选择当前的Artifacts
最后点击应用,成功解决。