-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Latest CGLIB2 error
PostPosted: Fri Feb 27, 2004 5:51 pm 
Pro
Pro

Joined: Mon Sep 08, 2003 4:30 pm
Posts: 203
Trying to use the latest cglib2.jar and getting:

Code:
java.lang.NoClassDefFoundError: org/objectweb/asm/ClassWriter
        at net.sf.cglib.core.AbstractClassGenerator.<init>(AbstractClassGenerator.java:75)
        at net.sf.cglib.reflect.FastClass$Generator.<init>(FastClass.java:83)
        at net.sf.cglib.reflect.FastClass.create(FastClass.java:72)
        at net.sf.hibernate.type.ComponentType.<init>(ComponentType.java:113)
        at net.sf.hibernate.cfg.Binder.bindComponent(Binder.java:893)
        at net.sf.hibernate.cfg.Binder.propertiesFromXML(Binder.java:1035)
        at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:355)
        at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1237)
        at net.sf.hibernate.cfg.Configuration.add(Configuration.java:249)
        at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:285)
        at net.sf.hibernate.cfg.Configuration.addResource(Configuration.java:315)
        at net.sf.hibernate.jmx.HibernateService.buildSessionFactory(HibernateService.java:174)
        at net.sf.hibernate.jmx.HibernateService.start(HibernateService.java:145)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:187)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:825)
        at $Proxy16.start(Unknown Source)
        at org.jboss.system.ServiceController.start(ServiceController.java:360)
        at org.jboss.system.ServiceController.start(ServiceController.java:382)
        at org.jboss.system.ServiceController.start(ServiceController.java:382)
        at org.jboss.system.ServiceController.start(ServiceController.java:382)
        at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:187)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
        at $Proxy4.start(Unknown Source)
        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:250)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:187)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
        at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:272)
        at $Proxy22.start(Unknown Source)
        at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:225)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:833)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:825)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:825)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:643)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:606)
        at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:187)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
        at $Proxy7.deploy(Unknown Source)
        at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
        at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
        at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
        at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:187)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:825)
        at $Proxy0.start(Unknown Source)
        at org.jboss.system.ServiceController.start(ServiceController.java:360)
        at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:187)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
        at $Proxy4.start(Unknown Source)
        at org.jboss.deployment.SARDeployer.start(SARDeployer.java:250)
        at org.jboss.deployment.MainDeployer.start(MainDeployer.java:833)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:643)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:606)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:590)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:72)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:70)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:187)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:480)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174)
        at $Proxy5.deploy(Unknown Source)
        at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:398)
        at org.jboss.system.server.ServerImpl.start(ServerImpl.java:305)
        at org.jboss.Main.boot(Main.java:150)
        at org.jboss.Main$1.run(Main.java:395)
        at java.lang.Thread.run(Thread.java:534)

It works with the prevoius cglib version


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 27, 2004 9:37 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Well of course you should use the cglib version provided with hibernate.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 01, 2004 11:27 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Or add the asm jar from objectweb.

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.