Closed GoogleCodeExporter closed 8 years ago
下载后导入lib下的所有jar和aviator-1.0.0-RC.jar Src Code: Map<String, Object> env = new HashMap<String, Object>(); env.put("email", "killme2008@gmail.com"); final TestObject testObject = new TestObject(); //env.put("obj", testObject); String username = (String) AviatorEvaluator.execute("email=~/([\\w0-8]+@\\w+[\\.\\w+]+)/ ? $1:'unknow'", env); Exception: Exception in thread "main" java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter.<init>(I)V at com.googlecode.aviator.code.asm.ASMCodeGenerator.<init>(ASMCodeGenerator.java:86) at com.googlecode.aviator.AviatorEvaluator.compile(AviatorEvaluator.java:176)
Original issue reported on code.google.com by anyfl...@gmail.com on 2 Jul 2010 at 10:46
anyfl...@gmail.com
我测试了是可以到,是不是你到classpath里还有其他到asm版本�� �
Original comment by killme2...@gmail.com on 3 Jul 2010 at 12:18
killme2...@gmail.com
Original comment by killme2...@gmail.com on 7 Jul 2010 at 5:27
Original issue reported on code.google.com by
anyfl...@gmail.com
on 2 Jul 2010 at 10:46