Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/379.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 未为Axis2 web应用程序指定部署目录或war文件_Java_Axis2 - Fatal编程技术网

Java 未为Axis2 web应用程序指定部署目录或war文件

Java 未为Axis2 web应用程序指定部署目录或war文件,java,axis2,Java,Axis2,我尝试了这方面的一切,但在部署web服务时出现了这个错误。 正如您所看到的,它所说的配置实际上并不存在。我搜索了谷歌,但我能找到的只是人们有相同问题的例子,但解决方案从未发布过。嗨,请按照以下步骤解决问题 I found solution regarding mentioned problem. It seems Netbeans 7.4+ is not creating axis2 config file for deployment. You can do it manually. he

我尝试了这方面的一切,但在部署web服务时出现了这个错误。


正如您所看到的,它所说的配置实际上并不存在。我搜索了谷歌,但我能找到的只是人们有相同问题的例子,但解决方案从未发布过。

嗨,请按照以下步骤解决问题

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.
步骤1:从Internet下载axis2插件文件“org-netbeans-modules-webvc-axis2.nbm”。在netbeans中安装插件并重新启动netbeans

步骤2:浏览.nbm文件的位置并单击install,然后重新启动netbeans

创建项目后的主要问题是tomcat服务器中的部署。 在我们进行部署时,它显示了以下内容

“未为Axis2 web应用程序(Axis2环境)指定部署目录或war文件。 请在中指定axis2.war或axis2部署目录位置

工具->选项->Axis2->部署面板。“

要解决上述问题,请按照以下步骤操作

•转到以下文件夹: UserProfile\AppData\Roaming\IDE\7.4\config\Preferences\org\netbeans\modules

•创建子文件夹“websvc”

•创建“axis2.properties”文件

•添加以下属性(在部署目录中添加双斜杠):

AXIS\u DEPLOY=C:\Program Files(x86)\Apache软件基金会\Tomcat 8.0\webapps\axis2.war

AXIS_URL=

TOMCAT_管理器_密码=根

TOMCAT_管理器_用户=根

最终文件路径将是(例如): C:\Users\BalaSubrahmanyam\AppData\Roaming\NetBeans\8.0.2\config\Preferences\org\NetBeans\modules\webvc\axis2.properties

保存文件,然后重新启动netbeans并构建项目


定制的axis2 war现在部署在tomcat服务器中。

请按照以下步骤解决问题

步骤1:从Internet下载axis2插件文件“org-netbeans-modules-webvc-axis2.nbm”。在netbeans中安装插件并重新启动netbeans

步骤2:浏览.nbm文件的位置并单击install,然后重新启动netbeans

创建项目后的主要问题是tomcat服务器中的部署。 在我们进行部署时,它显示了以下内容

“未为Axis2 web应用程序(Axis2环境)指定部署目录或war文件。 请在中指定axis2.war或axis2部署目录位置

工具->选项->Axis2->部署面板。“

要解决上述问题,请按照以下步骤操作

•转到以下文件夹: UserProfile\AppData\Roaming\IDE\7.4\config\Preferences\org\netbeans\modules

•创建子文件夹“websvc”

•创建“axis2.properties”文件

•添加以下属性(在部署目录中添加双斜杠):

AXIS\u DEPLOY=C:\Program Files(x86)\Apache软件基金会\Tomcat 8.0\webapps\axis2.war

AXIS_URL=

TOMCAT_管理器_密码=根

TOMCAT_管理器_用户=根

最终文件路径将是(例如): C:\Users\BalaSubrahmanyam\AppData\Roaming\NetBeans\8.0.2\config\Preferences\org\NetBeans\modules\webvc\axis2.properties

保存文件,然后重新启动netbeans并构建项目

定制的axis2 war现在部署在tomcat服务器中