现在用hibernate3.1,用Ant编译ok,配制好并用JB运行时,蹦出上述的框,并出现了这个异常:
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).log4j:WARN Please initialize the log4j system properly.java.lang.NoClassDefFoundError: org/objectweb/asm/Type at net.sf.cglib.core.TypeUtils.parseType(TypeUtils.java:180) at net.sf.cglib.core.KeyFactory.<clinit>(KeyFactory.java:66) at org.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:362) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1145) at Test.main(Test.java:11)Exception in thread "main"