当前位置: 代码迷 >> Eclipse >> :配置项目时出现错误
  详细解决方案

:配置项目时出现错误

热度:29   发布时间:2016-04-23 14:39:57.0
求助:配置项目时出现异常!
启动TOMCAT时,出现如下异常,请高手帮忙解决.多谢!!

2007-07-03   13:17:36,187   ERROR   org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:130)   [org.hibernate.proxy.BasicLazyInitializer]   -   <CGLIB   Enhancement   failed:   com.riteto
ne.cms.domain.CmsAppoveInfoImpl>
java.lang.NoSuchMethodError:   org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
                at   net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:101)
                at   net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:205)
                at   net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:63)
                at   net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:192)
                at   net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:177)
                at   net.sf.cglib.core.KeyFactory.create(KeyFactory.java:149)
                at   net.sf.cglib.proxy.Enhancer. <clinit> (Enhancer.java:102)
                at   org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
                at   org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
                at   org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
                at   org.hibernate.tuple.AbstractEntityTuplizer. <init> (AbstractEntityTuplizer.java:131)
                at   org.hibernate.tuple.PojoEntityTuplizer. <init> (PojoEntityTuplizer.java:55)
                at   org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
                at   org.hibernate.tuple.EntityMetamodel. <init> (EntityMetamodel.java:257)
                at   org.hibernate.persister.entity.AbstractEntityPersister. <init> (AbstractEntityPersister.java:412)
                at   org.hibernate.persister.entity.SingleTableEntityPersister. <init> (SingleTableEntityPersister.java:108)
                at   org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
                at   org.hibernate.impl.SessionFactoryImpl. <init> (SessionFactoryImpl.java:216)
                at   org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
                at   org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:825)
                at   org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:751)
                at   org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1091)
  相关解决方案