2
我正在使用Spring框架和Google App Engine构建Web应用程序。在开发服务器它的工作原理,但部署到谷歌应用程序引擎服务器时,我打这个错误java.lang.NoClassDefFoundError:部署到Google App Engine时无法初始化net.sf.cglib.proxy.Enhancer类
Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer
和
Initialization of bean failed; nested exception is java.lang.IncompatibleClassChangeError: class net.sf.cglib.core.DebuggingClassWriter has interface org.objectweb.asm.ClassVisitor as super class
第一个错误表明我似乎错过net.sf.cglib.proxy.Enhancer在cglib.jar中,但是当我检查它已经存在。我不明白的第二日志
我用几罐类路径文件:
asm-4.0
asm-util-4.0
cglib-3.0
app engine sdk 1.7.6
spring framework 3.2.0
是什么问题呢?我该如何解决?
在此先感谢
请检查这是否有帮助:http://stackoverflow.com/questions/9366403/java-lang-verifyerror-class-net-sf-cglib-core-debuggingclasswriter – Dinakar