项目场景:
idea导入项目,配置依赖
步骤
1.打开菜单File->Project Structure设置界面,在Project设置中,将Project language level改为:“8 - Lambdas,type annotations etc.”;
(2)切换到Modules设置,在sources选项页中,将Language level设置为:“8 - Lambdas,type annotations etc.”。
(3)修改setting–Build,Execution,Deployment–Compiler–Java Compiler版本号问题
(4)配置tomcat–打开Edit Configurations–选择±-Tomcat–loacal-
(5)配置sever–configure–选择本地下载的tomcat
(6)配置Deployment–选择±-加入项目