我在创建Axis,Tomcat(apache-tomcat-7.0.27
),Eclipse项目时遇到了问题。
注意:我使用的是Mac OSX 10.7.3
我已经成功地在eclipse中下载并安装了Tomcat。 I followed the following tutorial。
现在的问题是整合Axis。我下载了Axis(版本axis2-1.6.2
)。并从axis2-web
复制了......./Documents/AXIS_Project/axis2-1.6.2/webapp
文件夹并将其粘贴到其中
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