Artifact is deployed successfully,但是访问8080时报错404

问题:项目已经显示Artifact is deployed successfully,但是访问8080端口时报错404

图1 运行详情 

Artifact is deployed successfully,但是访问8080时报错404_第1张图片

 图2 报404错

原因:配置好tomcat服务器后,要访问这个URL!!!

Artifact is deployed successfully,但是访问8080时报错404_第2张图片

 这样就能OK了:

Artifact is deployed successfully,但是访问8080时报错404_第3张图片

 图3 成功访问

 

你可能感兴趣的:(java,Spring,Idea,Maven)