数据未保存在数据库中

时间:2019-05-28 04:59:40

标签: spring hibernate maven jetty

运行码头服务器时出现此错误

上下文org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@2c668c2a {/ webapp \ src \ main \ webapp}的启动失败 org.springframework.beans.factory.BeanCreationException:创建名称为'sessionService'的bean时出错:调用init方法失败;嵌套的异常是java.lang.NoClassDefFoundError:org / hibernate / service / ServiceRegistryBuilder     在org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)处     在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)处     在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1545)     在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)     在org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)处     在org.springframework.beans.factory.support.AbstractBeanFactory $ 1.getObject(AbstractBeanFactory.java:302)

0 个答案:

没有答案