gpt4 book ai didi

java - 既没有为 Axis2 Web 应用程序指定部署目录也没有指定 war 文件

转载 作者:行者123 更新时间:2023-11-29 03:28:08 24 4
gpt4 key购买 nike

我在这个 tutorial 中尝试了一切,但是当它部署 Web 服务时,我收到了这个错误。 enter image description here

如您所见,它所说的不存在的配置实际上存在。我在 Google 上进行了搜索,但我所能找到的只是人们遇到同样问题但从未发布解决方案的实例。

最佳答案

I found solution regarding mentioned problem. It seems Netbeans 7.4+ is not creating axis2 config file for deployment. You can do it manually.

here is the guide how to do it in French:
http://vincent-lecomte.blogspot.be/2014/10/java-probleme-config-axis2-et-netbeans.html


Below is my config for Netbeans 8.0:

1. Go to directory C:\Users\[Curr user]\AppData\Roaming\NetBeans\8.0\config\Preferences\org\netbeans\modules
2. Create folder "websvc"
3. In the folder "websvc" create file "axis2.properties"
4. In the file "axis2.properties" paste below text:

AXIS_DEPLOY=D:\\Tomcat\\webapps\\axis2 //change to the directory where axis2 is installed
AXIS_URL=http://[yourhost]:8080/axis2
TOMCAT_MANAGER_USER=user
TOMCAT_MANAGER_PASSWORD=password

Hope this helps.

关于java - 既没有为 Axis2 Web 应用程序指定部署目录也没有指定 war 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19895579/

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