0
时
我可以在我的项目成功地部署到网络服务器,但部署到Eclipse的Apache Tomcat实例时,我无法启动我的应用程序由于以下错误没有找到休眠:春天在Eclipse中Maven项目使用WTP
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
java.lang.NoClassDefFoundError: org/springframework/orm/hibernate3/HibernateTemplate
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getDeclaredMethods(Class.java:1791)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:429)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:412)
...
我已经安装了WTP,我已经运行了更新配置,但是有可能我没有按照正确的顺序来处理它们,因为你们中有一位处理过这个问题。我已经证实,这个类在我的spring-2.5.5 jar中的“Maven Dependencies”下是可用的。
你为什么不接受你自己的答案? – Ittai