webgoat7.1开发版环境搭建

环境准备:
git
maven
jdk
tomcat
然后进入正文:
下载webgoat门户
cd ~/webgoat
git clone https://github.com/WebGoat/WebGoat.git git clone https://github.com/WebGoat/WebGoat-Lessons.git
cd WebGoat
git checkout 7.1
mvn clean compile install
cd ..
下载webgoat课程
cd WebGoat-Lessons
git checkout develop
mvn package
(linux)   cp target/plugins/*.jar ../WebGoat/webgoat-container/src/main/webapp/plugin_lessons/

打war包
cd WebGoat
mvn package
cp webgoat-container/target/webgoat-container-7.1-SNAPSHOT.war <your_tomcat_directory>/webapps/
注意:tomcat要用7.X版本,8.X有问题。
启动tomcat即可。

 
原文地址:https://www.cnblogs.com/wuweidong/p/8856556.html