gpt4 book ai didi

java - 在 Mac 上安装 Axis、Tomcat eclipse

转载 作者:行者123 更新时间:2023-12-02 07:46:31 24 4
gpt4 key购买 nike

我在创建 Axis、Tomcat (apache-tomcat-7.0.27)、Eclipse 项目时遇到问题。

注意:我使用的是 Mac OSX 10.7.3

我已经下载并安装了Tomcat,在eclipse中成功安装。 I followed the following tutorial

现在的问题是集成 Axis。我下载了 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

最佳答案

download page ,您应该下载 WAR 分发版,而不是二进制分发版。该二进制文件需要额外的步骤来部署。只需将其放入,WAR 就会起作用。

关于java - 在 Mac 上安装 Axis、Tomcat eclipse,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10764477/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com