JSP项目全程实录OA系统报错啊?急!!
发表在JavaWeb图书答疑 2010-06-19
是否精华
版块置顶:
登录时出现如下错误:
HTTP Status 500 - 

--------------------------------------------------------------------------------

type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling this request.

exception 

javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:294)
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.struts.filter.MyFilter.doFilter(MyFilter.java:15)


root cause 

java.lang.NoClassDefFoundError: org/apache/commons/collections/map/LRUMap
org.hibernate.util.SimpleMRUCache.init(SimpleMRUCache.java:71)
org.hibernate.util.SimpleMRUCache.<init>(SimpleMRUCache.java:55)
org.hibernate.util.SimpleMRUCache.<init>(SimpleMRUCache.java:50)
org.hibernate.engine.query.QueryPlanCache.<init>(QueryPlanCache.java:65)
org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:176)
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
com.hiernate.util.GetHibernate.<clinit>(GetHibernate.java:32)
com.hiernate.util.HibernateUtil.<clinit>(HibernateUtil.java:10)
com.struts.action.FindUserAction.finUser(FindUserAction.java:23)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.struts.filter.MyFilter.doFilter(MyFilter.java:15)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.13 logs.


--------------------------------------------------------------------------------

Apache Tomcat/6.0.13
是哪个JAR没加入啊?谢谢说具体点啊?
分享到:
精彩评论 1
柠檬草
学分:0 LV1
2010-06-20
沙发
导入commons-collections-3.1.jar这个包试试
首页上一页 1 下一页尾页 1 条记录 1/1页
手机同步功能介绍
友情提示:以下图书配套资源能够实现手机同步功能
明日微信公众号
明日之星 明日之星编程特训营
客服热线(每日9:00-17:00)
400 675 1066
mingrisoft@mingrisoft.com
吉林省明日科技有限公司Copyright ©2007-2022,mingrisoft.com, All Rights Reserved长春市北湖科技开发区盛北大街3333号长春北湖科技园项目一期A10号楼四、五层
吉ICP备10002740号-2吉公网安备22010202000132经营性网站备案信息 营业执照