0
我在創建Axis,Tomcat(apache-tomcat-7.0.27
),Eclipse項目時遇到問題。在Mac上安裝Axis,Tomcat eclipse
注意:我使用的是Mac OSX 10.7.3
我已經下載並安裝了Tomcat,在eclipse成功。 I followed the following tutorial。
現在的問題是整合安訊士。我下載了Axis(版本號axis2-1.6.2
)。並從......./Documents/AXIS_Project/axis2-1.6.2/webapp
複製axis2-web
文件夾並將其粘貼到Tomcat中的 /Documents/AXIS_Project/apache-tomcat-7.0.27
文件夾中。
現在我重新啓動Tomcat,並鍵入http://localhost:8080/axis2-web/
,然後我收到以下消息;
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error() that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 14 in the generated java file
Only a type can be imported. org.apache.axis2.Constants resolves to a package
An error occurred at line: 15 in the generated java file
Only a type can be imported. org.apache.axis2.context.ConfigurationContext resolves to a package
An error occurred at line: 16 in the generated java file
Only a type can be imported. org.apache.axis2.description.Parameter resolves to a package
An error occurred at line: 17 in the generated java file
Only a type can be imported. org.apache.axis2.transport.http.AxisServlet resolves to a package
An error occurred at line: 18 in the generated java file
Only a type can be imported. org.apache.axis2.transport.TransportListener resolves to a package
你是怎麼啓動tomcat的?如果你從eclipse開始,默認配置是最小配置,錯過了一些東西。 –
它嘗試從終端運行tomcat以及'./ startup.sh',並鍵入'http:// localhost:8080/axis2-web /'仍然看到相同的錯誤 –