[英]Generating java from wsdl failure
I am trying to generate service stub from a wsdl file but I keep getting the error message on windows command prompt when I type the following: 我正在尝试从wsdl文件生成服务存根,但是当我键入以下内容时,我总是在Windows命令提示符下收到错误消息:
C:\path to dir containing the wsdl file> wsdl2java -uri ./[WSDL FILE NAME]
I have set up the following environment variables: 我设置了以下环境变量:
AXIS2_HOME - C:\axis2\bin
PATH - C:\axis2\bin\wsdl2java.bat
The wsdl2java.bat file is in the bin dir of axis2. wsdl2java.bat文件位于axis2的bin目录中。 But I can't figure out why I get this error.
但我不知道为什么会出现此错误。 Please help.
请帮忙。
PATH - C:\\axis2\\bin\\wsdl2java.bat is invalid. 路径-C:\\ axis2 \\ bin \\ wsdl2java.bat无效。 Try to set PATH - C:\\axis2\\bin\\ and then restart cmd / powershell
尝试设置PATH-C:\\ axis2 \\ bin \\,然后重新启动cmd / powershell
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.