1.从svn导入项目
2.从列表删除导入的项目
3.重新以Gradle Project导入该项目
4.添加web相关
项目右键:Properties - Project Facets - Convert to faceted form...
勾选第4,8,9项,详见下图
点击:Further configuration available...
Content directory:src/main/webapp
ok -> Apply -> ok
5.启动报错
SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
解决见:https://blog.csdn.net/yongpole/article/details/80941681