一个关于 org.hibernate.LockMode类的问题

feiyuxiaoxiao 2011-12-20 09:46:48
我对数据库做了一些修改,然后也做了相应的映射,但是运行后报错
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'travelExpenseManager' defined in ServletContext resource [/WEB-INF/spring/applicationContextBeans-config.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.cuc.account.manager.TravelExpenseManangerImpl]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problem:
The type org.hibernate.LockMode cannot be resolved. It is indirectly referenced from required .class files
在网上查了一下说是Hibernate.jar没有引用进来,但这怎么可能,我之前可以正常运行啊,请问这可能是什么原因啊
...全文
323 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
欣怡 2013-03-24
  • 打赏
  • 举报
回复
没反应,依旧是这样
feiyuxiaoxiao 2011-12-20
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 chigao520 的回复:]
你把TOMCAT里的缓存清一下,再试试。
[/Quote]
没有效果
feiyuxiaoxiao 2011-12-20
  • 打赏
  • 举报
回复
不可以,还是一样的
金先生1 2011-12-20
  • 打赏
  • 举报
回复
你把TOMCAT里的缓存清一下,再试试。

67,512

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧