在使用hibernate 和spring 构架的框架中如果出现Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm 可能是cglib的版本出现问题。 使用 cglib-nodep-2.2.jar 替换掉 cglib-2.2.jar 这个文件