Java 在带有ApacheODE的Eclipse中运行BPEL项目时出现HTTP错误500

Java 在带有ApacheODE的Eclipse中运行BPEL项目时出现HTTP错误500,java,eclipse,bpel,apache-ode,Java,Eclipse,Bpel,Apache Ode,我使用的是EclipseNeon、ApacheTomcat6、ApacheODE1.3.6和Java8。Java8在Eclipse的Java透视图中运行良好 我正在从本视频学习BPEL概念: 在时间3:11,它说右键单击WSDL文件并使用web服务浏览器进行测试。在视频中,它工作正常。但我得到了这些错误: HTTP ERROR: 500 Problem accessing /wse/wsexplorer/wsexplorer.jsp. Reason: org.apache.jaspe

我使用的是EclipseNeon、ApacheTomcat6、ApacheODE1.3.6和Java8。Java8在Eclipse的Java透视图中运行良好

我正在从本视频学习BPEL概念:

在时间3:11,它说右键单击WSDL文件并使用web服务浏览器进行测试。在视频中,它工作正常。但我得到了这些错误:

HTTP ERROR: 500

Problem accessing /wse/wsexplorer/wsexplorer.jsp. Reason:

    org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP

PWC6199: Generated servlet error:
The type java.util.Enumeration cannot be resolved. It is indirectly referenced from required .class files

PWC6199: Generated servlet error:
The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files

PWC6199: Generated servlet error:
The type java.lang.Throwable cannot be resolved. It is indirectly referenced from required .class files

PWC6199: Generated servlet error:
The type java.io.IOException cannot be resolved. It is indirectly referenced from required .class files

PWC6199: Generated servlet error:
The type java.lang.Exception cannot be resolved. It is indirectly referenced from required .class files

PWC6199: Generated servlet error:
The type java.util.List cannot be resolved. It is indirectly referenced from required .class files

PWC6199: Generated servlet error:
Only a type can be imported. java.util.Enumeration resolves to a package

PWC6199: Generated servlet error:
The hierarchy of the type wsexplorer_jsp is inconsistent

PWC6199: Generated servlet error:
The hierarchy of the type wsexplorer_jsp is inconsistent

PWC6199: Generated servlet error:
The type wsexplorer_jsp must implement the inherited abstract method JspSourceDependent.getDependants()

PWC6199: Generated servlet error:
Implicit super constructor Object() is undefined for default constructor. Must define an explicit constructor

PWC6197: An error occurred at line: 36 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 36 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
Enumeration cannot be resolved to a type

PWC6197: An error occurred at line: 36 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method getParameterNames() from the type ServletRequest refers to the missing type Enumeration

PWC6197: An error occurred at line: 36 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 36 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 36 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 36 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 36 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 36 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 36 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method getContextPath() from the type HttpServletRequest refers to the missing type String

PWC6199: Generated servlet error:
java.util.List cannot be resolved to a type

PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6199: Generated servlet error:
java.util.List cannot be resolved to a type

PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6199: Generated servlet error:
_jspx_dependants cannot be resolved to a variable

PWC6199: Generated servlet error:
java.io.IOException cannot be resolved to a type

PWC6199: Generated servlet error:
No exception of type ServletException can be thrown; an exception type must be a subclass of Throwable

PWC6199: Generated servlet error:
Object cannot be resolved to a type

PWC6199: Generated servlet error:
The method setContentType(String) from the type ServletResponse refers to the missing type String

PWC6199: Generated servlet error:
The method getPageContext(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) from the type JspFactory refers to the missing type String

PWC6199: Generated servlet error:
The method getAttribute(String) from the type ServletContext refers to the missing type Object

PWC6197: An error occurred at line: 13 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The type java.io.Writer cannot be resolved. It is indirectly referenced from required .class files

PWC6197: An error occurred at line: 13 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 13 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 13 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 13 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 13 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 23 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The type java.util.Locale cannot be resolved. It is indirectly referenced from required .class files

PWC6197: An error occurred at line: 23 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method getLocale() from the type ServletResponse refers to the missing type Locale

PWC6197: An error occurred at line: 23 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 23 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 23 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 23 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 23 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 23 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 23 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 23 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 23 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 23 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 32 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 32 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method getId() from the type HttpSession refers to the missing type String

PWC6197: An error occurred at line: 34 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 34 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 35 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method getAttribute(String, int) from the type JspContext refers to the missing type Object

PWC6197: An error occurred at line: 35 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method setAttribute(String, Object, int) from the type JspContext refers to the missing type String

PWC6197: An error occurred at line: 35 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 35 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 69 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 69 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 70 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 70 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 71 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 71 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 72 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method getSessionId() from the type Controller refers to the missing type String

PWC6197: An error occurred at line: 72 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 72 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 86 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 86 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 87 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method include(ServletRequest, ServletResponse, String, JspWriter, boolean) from the type JspRuntimeLibrary refers to the missing type String

PWC6197: An error occurred at line: 87 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 87 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 88 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method getMessage(String) from the type MessageProvider refers to the missing type String

PWC6197: An error occurred at line: 88 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 88 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 93 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 93 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 94 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 94 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 94 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 95 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 95 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 95 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method getMessage(String) from the type MessageProvider refers to the missing type String

PWC6197: An error occurred at line: 95 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 95 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 96 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 96 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 96 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method getMessage(String) from the type MessageProvider refers to the missing type String

PWC6197: An error occurred at line: 96 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 96 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method getPathWithContext(String) from the type Controller refers to the missing type String

PWC6197: An error occurred at line: 96 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 96 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 97 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
String cannot be resolved to a type

PWC6197: An error occurred at line: 97 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 97 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method getMessage(String) from the type MessageProvider refers to the missing type String

PWC6197: An error occurred at line: 97 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 97 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method getPathWithContext(String) from the type Controller refers to the missing type String

PWC6197: An error occurred at line: 97 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 97 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

PWC6197: An error occurred at line: 97 in the jsp file: /wsexplorer/wsexplorer.jsp
PWC6199: Generated servlet error:
The method write(String) is undefined for the type JspWriter

Powered by Jetty:// 9.3.9.v20160517

我个人通常不支持ODE的基于eclipse的部署。用手工做总是比较好的。无论如何,ODE 1.3.7已经在几天前发布了。所以,我想检查一下与EclipseNeon的集成。 环境:Linux:Kubuntu 17.04,jdk1.8.092,Eclipse Neon,ODE 1.3.7 war,Tomcat 8.5.16

  • 确保在eclipse中安装的JRE->运行时位置指向JDK安装目录,而不是JRE目录
  • 在tomcat 8.5.16中部署ODE war
  • 在eclipse中添加ODE运行时服务器,如您所参考的视频中所述
  • 在eclipse的服务器视图下,双击刚才添加的ode服务器。它将打开配置编辑器,查找蓝色的“打开启动配置”,然后单击它
  • 它将打开启动编辑器,进入类路径菜单选项卡。单击“添加jar”按钮,遍历tomcat的bin目录,找到bootstrap.jar和tomcat-juli.jar。选择它们并将其添加到类路径条目中并保存
  • 按照视频中描述的说明部署bpel项目
  • 打开webservice测试编辑器以触发请求
ODE 1.3.7有新的基于AngularJS的web控制台。 快乐的奥丁:)