导入包是导入jbpm全体包jbpm版本是jbpm-4.3---------------------------------------------------------------------------------------------------严重: Servlet.service() for servlet jsp threw exceptionjava.lang.ClassCastException: de.odysseus.el.ExpressionFactoryImpl cannot be cast to javax.el.ExpressionFactoryat javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:180)at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:107)at org.apache.jasper.compiler.PageInfo.<init>(PageInfo.java:78)at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:109)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:360)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:594)at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:314)at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:163)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:402)at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:249)at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:267)at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:245)at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:260)at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)at java.lang.Thread.run(Unknown Source) jsp页面
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@page import="java.util.*" %>
<%@page import="org.jbpm.api.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
ProcessEngine processEngine = Configuration.getProcessEngine();
RepositoryService repositoryService = processEngine.getRepositoryService();
List<ProcessDefinition> list = repositoryService.createProcessDefinitionQuery().list();
//ExecutionService executionService = processEngine.getExecutionService();
//TaskService taskService = processEngine.getTaskService();
for(ProcessDefinition pd : list){
%>
<%=pd.getId() %>,<%=pd.getName() %>,<%=pd.getVersion() %>
<%
}
%>
</body>
</html>
解决方法:
删除jar,juel.jar
posted on 2012-05-16 15:31
kxbin 阅读(2722)
评论(1) 编辑 收藏 所属分类:
流程引擎