2017-07-14 72 views
0

我正在使用Eclipse Neon,Apache Tomcat 6,Apache ODE 1.3.6和Java 8. Java 8在Eclipse的Java透視圖中正常工作。獲取HTTP錯誤500,同時在Eclipse中使用Apache ODE運行BPEL項目

我正在學習從這個視頻BPEL概念:https://www.youtube.com/watch?v=9vW--eCxf_w

在時間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 

回答

0

我個人通常不會使用基於eclipse的ODE部署。手動操作總是更好。無論如何,ODE 1.3.7已經在幾天前發佈。所以,想要檢查與Eclipse Neon的集成。 環境:Linux:Kubuntu 17.04,jdk1.8.0_92,Eclipse Neon,ODE 1.3.7 war,Tomcat 8.5.16。

  • 確保在eclipse中安裝了JRE - > runtime location指向JDK安裝目錄而不是JRE目錄。
  • 在tomcat 8.5.16中部署ODE war
  • 在eclipse中添加ODE運行時服務器,如您在引用的視頻中所述。
  • 在Eclipse中的「雙擊」服務器上的服務器視圖下,您剛剛添加了。它將打開配置編輯器,查找藍色的「打開啓動配置」並單擊它。
  • 它將打開Launch編輯器,進入Classpath菜單選項卡。點擊「Add Jars」按鈕並遍歷到tomcat的bin目錄,找到bootstrap.jar和tomcat-juli.jar。選擇它們並將其添加到類路徑條目並保存。
  • 按照視頻中所示的說明部署您的bpel項目。
  • 打開webservice測試編輯器以激發請求。

ODE 1.3.7有新的基於AngularJS的Web控制檯。 快樂正在:)

http://ode.apache.org/getting-ode.html

相關問題