myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Re: Trying to get sandbox examples working with Eclipse/JettyLauncher
Date Thu, 29 Mar 2007 14:55:31 GMT
Suspecting that I didn't need to work with any examples involving
spring, I commented out the two listener entries in the web.xml file.
 The rest of them now run, but this stuff should be working out of the
box.

On 3/29/07, Mike Kienenberger <mkienenb@gmail.com> wrote:
> Well, I decided to try to download the latest svn snapshot and start working.
>
> myfaces-example-simple works fine.
>
> However, I notice that there's now a sandbox examples dependency on
> spring that wasn't there before, and it's generating errors when I try
> to run the sandbox examples inside Eclipse with the JettyLauncher
> plugin.
>
> Spring seems like overkill for the examples, but as long as it works,
> I don't care.
>
> But it's not working :-)
>
>
> rg.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'springWizardData': Initialization of bean failed;
> nested exception is java.lang.NoSuchMethodError:
> org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
> Caused by: java.lang.NoSuchMethodError:
> org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
>         at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)
>         at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)
>         at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
>         at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
>         at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
>         at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
>         at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
>         at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
>         at org.springframework.aop.framework.Cglib2AopProxy.createEnhancer(Cglib2AopProxy.java:227)
>         at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:154)
>         at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:144)
>         at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:72)
>         at org.springframework.aop.scope.ScopedProxyFactoryBean.setBeanFactory(ScopedProxyFactoryBean.java:100)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1015)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:140)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:270)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
>         at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
>         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
>         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
>         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
>         at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:495)
>         at org.mortbay.util.Container.start(Container.java:72)
>         at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
>         at org.mortbay.util.Container.start(Container.java:72)
>         at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
>         at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
>         at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)
> getRootCause():
> java.lang.NoSuchMethodError:
> org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
>         at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)
>         at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)
>         at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
>         at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
>         at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
>         at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
>         at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
>         at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
>         at org.springframework.aop.framework.Cglib2AopProxy.createEnhancer(Cglib2AopProxy.java:227)
>         at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:154)
>         at org.springframework.aop.framework.Cglib2AopProxy.getProxy(Cglib2AopProxy.java:144)
>         at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:72)
>         at org.springframework.aop.scope.ScopedProxyFactoryBean.setBeanFactory(ScopedProxyFactoryBean.java:100)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1015)
>         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
>         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
>         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:140)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
>         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
>         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:270)
>         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:346)
>         at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
>         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
>         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
>         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
>         at org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:495)
>         at org.mortbay.util.Container.start(Container.java:72)
>         at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
>         at org.mortbay.util.Container.start(Container.java:72)
>         at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
>         at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
>         at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)
>

Mime
View raw message