When I running ofbiz I got error as below:
2009-12-19 10:11:53,031 (org.ofbiz.service.jms.JmsListenerFactory@daeab4) [ JmsL istenerFactory.java:64 :INFO ] Starting JMS Listener Factory Thread Exception in thread "main" java.lang.NoSuchMethodError: org.objectweb.asm.ClassW riter.<init>(Z)V at org.webslinger.invoker.AbstractWrap.genClassBytes(AbstractWrap.java:2 7) at org.webslinger.invoker.AbstractGenerator.genClass(AbstractGenerator.j ava:39) at org.webslinger.invoker.Wrap.genClass(Wrap.java:30) at org.webslinger.invoker.Wrap.newInstance(Wrap.java:38) at org.ofbiz.service.ModelServiceReader.createModelService(ModelServiceR eader.java:274) at org.ofbiz.service.ModelServiceReader.getModelServices(ModelServiceRea der.java:179) at org.ofbiz.service.ModelServiceReader.<init>(ModelServiceReader.java:1 06) at org.ofbiz.service.ModelServiceReader.getModelServiceMap(ModelServiceR eader.java:87) at org.ofbiz.service.DispatchContext.getGlobalServiceMap(DispatchContext .java:319) at org.ofbiz.service.DispatchContext.loadReaders(DispatchContext.java:78 ) at org.ofbiz.service.GenericDispatcher.init(GenericDispatcher.java:139) at org.ofbiz.service.GenericDispatcher.<init>(GenericDispatcher.java:127 ) at org.ofbiz.service.GenericDispatcher.getLocalDispatcher(GenericDispatc her.java:79) at org.ofbiz.service.GenericDispatcher.getLocalDispatcher(GenericDispatc her.java:43) at org.ofbiz.entityext.EntityServiceFactory.getLocalDispatcher(EntitySer viceFactory.java:34) at org.ofbiz.entityext.EntityServiceFactory.getDispatchContext(EntitySer viceFactory.java:39) at org.ofbiz.entityext.eca.DelegatorEcaHandler.setDelegator(DelegatorEca Handler.java:55) at org.ofbiz.entity.GenericDelegator.initEntityEcaHandler(GenericDelegat or.java:326) at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:311) at org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImp l.java:43) at org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImp l.java:25) at org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:1 81) at org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java: 31) at org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer .java:174) at org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade r.java:188) at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65 ) at org.ofbiz.base.start.Start.initStartLoaders(Start.java:259) at org.ofbiz.base.start.Start.init(Start.java:96) at org.ofbiz.base.start.Start.main(Start.java:410) |
Hi,
Looks like you have a classpath problem, maybe an old asm-x.x.jar hanging around. Which version of OFBiz are you using? Adrian Cumiskey. 2009/12/19 zhiyongcui <[hidden email]> > > When I running ofbiz I got error as below: > 2009-12-19 10:11:53,031 (org.ofbiz.service.jms.JmsListenerFactory@daeab4) > [ > JmsL > istenerFactory.java:64 :INFO ] Starting JMS Listener Factory Thread > Exception in thread "main" java.lang.NoSuchMethodError: > org.objectweb.asm.ClassW > riter.<init>(Z)V > at > org.webslinger.invoker.AbstractWrap.genClassBytes(AbstractWrap.java:2 > 7) > at > org.webslinger.invoker.AbstractGenerator.genClass(AbstractGenerator.j > ava:39) > at org.webslinger.invoker.Wrap.genClass(Wrap.java:30) > at org.webslinger.invoker.Wrap.newInstance(Wrap.java:38) > at > org.ofbiz.service.ModelServiceReader.createModelService(ModelServiceR > eader.java:274) > at > org.ofbiz.service.ModelServiceReader.getModelServices(ModelServiceRea > der.java:179) > at > org.ofbiz.service.ModelServiceReader.<init>(ModelServiceReader.java:1 > 06) > at > org.ofbiz.service.ModelServiceReader.getModelServiceMap(ModelServiceR > eader.java:87) > at > org.ofbiz.service.DispatchContext.getGlobalServiceMap(DispatchContext > .java:319) > at > org.ofbiz.service.DispatchContext.loadReaders(DispatchContext.java:78 > ) > at > org.ofbiz.service.GenericDispatcher.init(GenericDispatcher.java:139) > at > org.ofbiz.service.GenericDispatcher.<init>(GenericDispatcher.java:127 > ) > at > org.ofbiz.service.GenericDispatcher.getLocalDispatcher(GenericDispatc > her.java:79) > at > org.ofbiz.service.GenericDispatcher.getLocalDispatcher(GenericDispatc > her.java:43) > at > org.ofbiz.entityext.EntityServiceFactory.getLocalDispatcher(EntitySer > viceFactory.java:34) > at > org.ofbiz.entityext.EntityServiceFactory.getDispatchContext(EntitySer > viceFactory.java:39) > at > org.ofbiz.entityext.eca.DelegatorEcaHandler.setDelegator(DelegatorEca > Handler.java:55) > at > org.ofbiz.entity.GenericDelegator.initEntityEcaHandler(GenericDelegat > or.java:326) > at > org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:311) > at > org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImp > l.java:43) > at > org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImp > l.java:25) > at > org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:1 > 81) > at > org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java: > 31) > at > org.ofbiz.catalina.container.CatalinaContainer.init(CatalinaContainer > .java:174) > at > org.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoade > r.java:188) > at > org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:65 > ) > at org.ofbiz.base.start.Start.initStartLoaders(Start.java:259) > at org.ofbiz.base.start.Start.init(Start.java:96) > at org.ofbiz.base.start.Start.main(Start.java:410) > -- > View this message in context: > http://n4.nabble.com/running-error-tp975212p975212.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
trunk 892453.
|
Free forum by Nabble | Edit this page |