WebGoat部署到Intellij IDEA

1、WebGoat源码下载地址:https://github.com/WebGoat/WebGoat
2、代码运行先决条件:java11 , Maven> 3.2.1 ,自己喜欢的IDE
3、修改maven中的setting.xml的配置文件
1)将localRepository改为本地的地址WebGoat部署到Intellij IDEA
2)将mirror改为阿里云的maven

alimaven
aliyun maven
http://maven.aliyun.com/nexus/content/groups/public/
central
WebGoat部署到Intellij IDEA
4、在IDE里面配置本地的maven地址
file->settings->maven目录下maven地址改为本地的maven地址WebGoat部署到Intellij IDEA
5、引入符合项目版本的jdk11
file ->project structure 引入jdk11
WebGoat部署到Intellij IDEA
6、导包完成后,本地启动项目,即可运行。