Apache Velocity 2.0 Scripting Compilable not working
问题 I'm trying to check velocity scripting engine 2.0 which Provide JSR 223 implementation and support of Compilable the Compilable interface has been implemented in the process. I use jars: velocity-engine-scripting-2.0.jar, velocity-1.7.jar, commons-collections-3.2.2.jar from previous answer I use the following code //class org.apache.velocity.script.VelocityScriptEngine final ScriptEngine engine = engineFactory.getScriptEngine(); if (engine instanceof Compilable) { try { ((Compilable) engine)