IDEA中配置Tomcat时报错:Warning: No artifacts marked for deployment 1.File–>Project Structure–> Artifacts–> + -->Web Application:Exploded–>From Modules 2.弹出如下界面,点击ok 3.点击Apply 4.点击Edit Configurations 5.重新回到刚刚报错界面,进入Deployment页面,点击Fix 经过以上处理,错误解决,没有warning了!