老师助手为什么总是服务器错误,我按照老师的配置一步一步来,一运行服务器就出现这个异常怎么解决啊...

严重: Exception sending context destroyed event to listener instance of class org.springframework.web.context.ContextLoaderListener

Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem:  element for property 'hibernateProperties' must specify a ref or value

java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext

at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:170)

at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1033)

at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1009)

at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:961)

at org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:581)

at org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:116)

at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4775)

at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5385)

at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值