说明 核心代码摘自 http://github.com/nth347/Java-SSTI-demo/ 的 velocity 注入 部分。 更新 对 JDK8 进行了支持,并将 templates 路径放置在 /src/main/resources/ 目录下。