svn导入Gradle项目

1.从svn导入项目
这里写图片描述
这里写图片描述

2.从列表删除导入的项目
这里写图片描述

3.重新以Gradle Project导入该项目
这里写图片描述
这里写图片描述

4.添加web相关

项目右键:Properties - Project Facets - Convert to faceted form...

这里写图片描述

勾选第4,8,9项,详见下图

这里写图片描述

点击:Further configuration available...
Content directorysrc/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

猜你喜欢

转载自blog.csdn.net/u012204535/article/details/80941165
今日推荐