I'm attempting to evaluate SmartGWT EE, but I'm having problems with the SpringHibernateDMI sample project.
I'm running the nightly build from 4-4-11 on a new Eclipse Helios EE installation with GWT 2.2. I've followed the instructions to import the sample project into an Eclipse project.
Without making any modifications, I have been attempting to run the project as a Web Application, but keep getting this message:
Basically, it's telling me that it can't find a class definition for the org.slf4j.LoggerFactory class. I've checked the project build path to make sure that the slf4j-api-1.5.6.jar file is on it and I've checked this jar file to make sure that it contains the org.slf4j.LoggerFactory.
I'm at a loss as to why this is happening and it's putting me in a difficult spot. I'd be extremely grateful if someone could explain what I'm doing incorrectly that is having this fail right out of the gate.
Thanks for your time,
Steve Erdman
I'm running the nightly build from 4-4-11 on a new Eclipse Helios EE installation with GWT 2.2. I've followed the instructions to import the sample project into an Eclipse project.
Without making any modifications, I have been attempting to run the project as a Web Application, but keep getting this message:
Code:
javax.servlet.ServletException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'supplyItemDaoTarget' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'hibernateSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateSessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.orm.hibernate3.LocalSessionFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:437) at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:616) at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448) at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:461) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:565) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:494) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1058) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:800) at com.google.gwt.dev.DevMode.main(DevMode.java:304) ...
I'm at a loss as to why this is happening and it's putting me in a difficult spot. I'd be extremely grateful if someone could explain what I'm doing incorrectly that is having this fail right out of the gate.
Thanks for your time,
Steve Erdman
Comment