IDEA中配置Tomcat时报错:Warning No artifacts marked for deployment

IDEA中配置Tomcat时报错:Warning: No artifacts marked for deployment

IDEA中配置Tomcat时报错:Warning No artifacts marked for deployment_第1张图片

1.File–>Project Structure–>

IDEA中配置Tomcat时报错:Warning No artifacts marked for deployment_第2张图片

Artifacts–> + -->Web Application:Exploded–>From Modules

IDEA中配置Tomcat时报错:Warning No artifacts marked for deployment_第3张图片

2.弹出如下界面,点击ok

IDEA中配置Tomcat时报错:Warning No artifacts marked for deployment_第4张图片

3.点击Apply

IDEA中配置Tomcat时报错:Warning No artifacts marked for deployment_第5张图片

4.点击Edit Configurations

IDEA中配置Tomcat时报错:Warning No artifacts marked for deployment_第6张图片

5.重新回到刚刚报错界面,进入Deployment页面,点击Fix

IDEA中配置Tomcat时报错:Warning No artifacts marked for deployment_第7张图片

经过以上处理,错误解决,没有warning了!

你可能感兴趣的:(javaWeb,intellij-idea,java,idea)