I've updated the SF download with the (working) version from the 1.2
branch (which includes IBATIS support) - Unpack the war & edit the
applicationContext & the web.xml where indicated to switch to
Hibernate.

/Gwyn

On 10/06/06, Gwyn Evans <[EMAIL PROTECTED]> wrote:
> Odd, I'm sure I tested that before uploading it...
>
> Best thing would be to download the latest from SVN, using the
> following SVN URL:
> https://svn.sourceforge.net/svnroot/wicket-stuff/branches/WICKET_1_2/wicket-phonebook
>
> /Gwyn
>
> On 10/06/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > nested exception is java.lang.NoSuchMethodError:
> > org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/Strin
> >
> > g;[Ljava/lang/String;Ljava/lang/String;)V
> >
> > looks like asm depenendcy needed by hibernate is missing?
> >
> > -Igor
> >
> >
> >
> >
> > On 6/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:
> > > Hi,
> > >
> > >   I am new to wicket. I just downloaded wicket-phonebook 1.2 . When I
> > > started jetty, I get the following exceptions:
> > >
> > > 2006-06-09 17:04:50,968 ERROR
> > > org.springframework.web.context.ContextLoader - Context
> > initialization
> > > failed
> > > org.springframework.beans.factory.BeanCreationException :
> > Error creating
> > > bean with name 'sessionFactory' defined in class path resource
> > > [applicationContext.xml]: Initialization of bean failed; nested
> > > exception is java.lang.NoSuchMethodError:
> > > org.objectweb.asm.ClassVisitor.visit
> > (ILjava/lang/String;Ljava/lang/Strin
> > > g;[Ljava/lang/String;Ljava/lang/String;)V
> > > java.lang.NoSuchMethodError:
> > >
> > org.objectweb.asm.ClassVisitor.visit(ILjava/lang/String;Ljava/lang/Strin
> > > g;[Ljava/lang/String;Ljava/lang/String;)V
> > >         at
> > >
> > net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:63)
> > >         at
> > >
> > net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173
> > > )
> > >         at
> > > net.sf.cglib.core.DefaultGeneratorStrategy.generate
> > (DefaultGeneratorStra
> > > tegy.java:25)
> > >         at
> > >
> > net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.j
> > > ava: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.core.KeyFactory.create(KeyFactory.java:104)
> > >         at
> > >
> > org.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:3
> > > 21)
> > >         at
> > >
> > org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1
> > > 005)
> > >         at
> > >
> > org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFac
> > > tory(LocalSessionFactoryBean.java:800)
> > >         at
> > >
> > org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterProperti
> > > esSet(LocalSessionFactoryBean.java:726)
> > >         at
> > >
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > >
> > tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)
> > >         at
> > >
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> > > tory.createBean(AbstractAutowireCapableBeanFactory.java
> > :363)
> > >         at
> > >
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
> > > stractBeanFactory.java:226)
> > >         at
> > >
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
> > > stractBeanFactory.java :147)
> > >         at
> > >
> > org.springframework.beans.factory.support.DefaultListableBeanFactory.pre
> > > InstantiateSingletons(DefaultListableBeanFactory.java:269)
> > >         at
> > >
> > org.springframework.context.support.AbstractApplicationContext.refresh
> > (A
> > > bstractApplicationContext.java:320)
> > >         at
> > >
> > org.springframework.web.context.support.AbstractRefreshableWebApplicatio
> > >
> > nContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
> > >         at
> > >
> > org.springframework.web.context.ContextLoader.createWebApplicationContex
> > > t(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.handler.ContextHandler.startContext(ContextHandler.jav
> > > a:392)
> > >         at
> > >
> > org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java
> > :9
> > > 96)
> > >         at
> > >
> > org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:365
> > > )
> > >         at
> > >
> > org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:373)
> > >         at
> > > org.mortbay.component.AbstractLifeCycle.start
> > (AbstractLifeCycle.java:38)
> > >         at
> > >
> > org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.ja
> > > va:159)
> > >         at
> > >
> > org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandle
> > > rCollection.java:118)
> > >         at
> > >
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
> > >         at
> > >
> > org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.ja
> > > va:159)
> > >         at
> > >
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
> > >         at
> > >
> > org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:97)
> > >         at org.mortbay.jetty.Server.doStart(Server.java
> > :194)
> > >         at
> > >
> > org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:38)
> > >         at
> > >
> > org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:900)
> > >         at sun.reflect.NativeMethodAccessorImpl.invoke0
> > (Native Method)
> > >         at
> > sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > >         at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> > > Source)
> > >         at java.lang.reflect.Method.invoke(Unknown Source)
> > >         at
> > org.mortbay.start.Main.invokeMain(Main.java:184)
> > >         at org.mortbay.start.Main.start(Main.java:508)
> > >         at org.mortbay.start.Main.main(Main.java:116)
> > > :WARN:  failed
> > > [EMAIL PROTECTED] /wicket-phonebook-1.2,file:/C:/Documents%20and%20S
> > >
> > ettings/qzheng/Local%20Settings/Temp/Jetty__wicket-phonebook-1_2/webapp/
> > > }
> > > :WARN:  failed [EMAIL PROTECTED]
> > > :WARN:  failed [EMAIL PROTECTED]
> > > :INFO:  Started SelectChannelConnector @ 0.0.0.0:8080
> > > :WARN:  failed [EMAIL PROTECTED]
> > > :WARN:  EXCEPTION
> > >
> > > Thanks in advance.
> > >
> > > Qing
> > >
> > >
> > >
> > > _______________________________________________
> > > Wicket-user mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> >
> >
> > _______________________________________________
> > Wicket-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> >
>


_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to