No artifacts marked for deployment 解决方法
1.进入Run——>Edit Configurations
2.点击Fix,进入Deployment
3.点击图标
4.点击OK即可
实现Servlet接口,不能自动导包解决办法
2021版 : File——>Project Structure——>Modules——>找到要配置的模块——>点击加号——>加入Library——>找到Servlet加入进去即可
1.进入Run——>Edit Configurations
2.点击Fix,进入Deployment
3.点击图标
4.点击OK即可
2021版 : File——>Project Structure——>Modules——>找到要配置的模块——>点击加号——>加入Library——>找到Servlet加入进去即可