求问java.lang.NoClassDefFoundError是什么原因

求大神帮助!!!
我从别的项目搞过来jar包,放到项目WEB-INF/lib文件夹下后,运行报异常
严重: Servlet.service() for servlet [ResouceServlet] in context with path [/test] threw exception [Servlet execution threw an exception] with root cause
java.lang.NoClassDefFoundError: Could not initialize class com.tt.report.core.prosess.ProsessFactory
at com.tt.report.ResouceServlet.doGet(ResouceServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
其中ProsessFactory类的代码
public class ProsessFactory
{
public static Map prosessFactory = new HashMap();
public static Prosess defaultProsess = new DefaultProsess();

static
{
prosessFactory.put("createImage", new CreateImageProess());
prosessFactory.put("read", new ReadProsess());
prosessFactory.put("write", new WriteProsess());
prosessFactory.put("page", new WriteProsess());
prosessFactory.put("write_content", new WriteContentProsess());
prosessFactory.put("page_content", new WriteContentProsess());
prosessFactory.put("write_verify", new WriteVerifyProsess());
prosessFactory.put("write_writeContent", new WriteWriteContentProsess());
prosessFactory.put("closesessionid", new CloseSessionProsess());
prosessFactory.put("resource", new ResourceProsess());
prosessFactory.put("widget", new WidgetProsess());
prosessFactory.put("write_cal_cell", new WriteCalCellProsess());
prosessFactory.put("paint", new PaintProsess());
prosessFactory.put("paint_page", new PaintPageProsess());

prosessFactory.put("fr_dialog", new dialogParametersProsess());
prosessFactory.put("readReportTpl", new ReadReortTplProsess());
prosessFactory.put("writeReortTpl", new WriteReortTplProsess());
prosessFactory.put("rometReport", new RometReportProcess());

prosessFactory.put("emb", new EmbResourceService());
prosessFactory.put("export", new ExportService());
prosessFactory.put("heartbeat", new HeartBeatService());
prosessFactory.put("reset_H_W", new ReSetCellWHProsess());
prosessFactory.put("showtest", new TestShowSessionProsess());
prosessFactory.put("writecontentcache", new WriteContentCacheProsess());
prosessFactory.put("fr_write", new AppendOrDeleteProsess());

}

public static Prosess getProsess(String op)
{
if (op == null) {
op = "page";
}
return (Prosess)prosessFactory.get(op);
}
}
不知是什么原因?
先谢谢,万分感谢了

查看全部
qq_23407327
qq上跑来的
2017/08/15 02:28
  • 异常
  • 点赞
  • 收藏
  • 回答
    私信

4个回复