`
BetterMan
  • 浏览: 24795 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
文章列表
Spring2+struts2 +hibernate3集成,在后台测试时报的错,报错的这句话: Exception in thread "main" java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter. <init>(Z)V        原因是因为cglib 包和asm包冲突,开始用的cglib包是cglib-2.1.3.jar  ,后来换了一个cglib-2.2.jar才测试通过,去cglib官网下个最新版本的 就解决了   介绍cglib.jar 据cglib官网http:// ...
package com.dreamoa.util; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.cfg.Configuration; /** * Configures and provides access to Hibernate sessions, tied to the * current thread of execution. Follows the Thread Local Session * pattern, se ...
SSH 类库问题 java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer 2009-09-16 02:15 由MyEclipse自动导入的Spring,Hibernate,Struts 类库 发布到Tomcat发现问题: java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer 随之 sessionFactory bean 也就创建失败 究其原因是 cglib-2. ...
Global site tag (gtag.js) - Google Analytics