type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.NoSuchMethodError: org.apache.log4j.Logger.trace(Ljava/lang/Object;)V
org.jbpm.internal.log.Log4jLog.trace(Log4jLog.java:74)
org.jbpm.pvm.internal.wire.xml.WireParser.<clinit>(WireParser.java:289)
org.jbpm.pvm.internal.cfg.ConfigurationParser.<init>(ConfigurationParser.java:46)
org.jbpm.pvm.internal.cfg.ConfigurationParser.<clinit>(ConfigurationParser.java:49)
org.jbpm.pvm.internal.cfg.ConfigurationImpl.parse(ConfigurationImpl.java:137)
org.jbpm.pvm.internal.cfg.ConfigurationImpl.setResource(ConfigurationImpl.java:116)
org.jbpm.pvm.internal.cfg.ConfigurationImpl.setResource(ConfigurationImpl.java:50)
org.jbpm.api.Configuration.setResource(Configuration.java:79)
org.jbpm.api.Configuration.getProcessEngine(Configuration.java:126)
com.hoteam.kaide.jbpm.service.FlowManagerFormImpl.<init>(FlowManagerFormImpl.java:31)
com.hoteam.kaide.jbpm.service.FlowManagerFormImpl.getInstance(FlowManagerFormImpl.java:24)
com.hoteam.kaide.jbpm.action.FlowAction.execute(FlowAction.java:22)
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)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
--------------------------------------------
Apache Tomcat/5.5.26
------解决方案--------------------
换个LOG4J包的版本试试
------解决方案--------------------
重点在这:java.lang.NoSuchMethodError: org.apache.log4j.Logger.trace(Ljava/lang/Object;)V
楼上说的对,应该是log4j的版本和容器需调用的log4j版本不一致。
代码迷推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.daimami.com/search?q=317