Quick test setup to replicate the spring-rce ():
Deploy a docker container with Tomcat, SpringMVC and a vulnerable app.
Then run the exploit.
Docker
First run deploy.sh to build and deploy the docker container
Wait untill the docker is up & running
then run exploit.sh