Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/316.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 在具有两个Web服务的可运行jar中出错_Java_Web Services_Soap_Jar_Axis - Fatal编程技术网

Java 在具有两个Web服务的可运行jar中出错

Java 在具有两个Web服务的可运行jar中出错,java,web-services,soap,jar,axis,Java,Web Services,Soap,Jar,Axis,我需要帮助解决这个错误。我用两个Web服务创建了一个可运行的jar,当我用控制台执行它时,我犯了这个错误。我已经在类路径中添加了所有AxisJAR,但是我有这个。我用GlassFish运行这个,EclipseIndigo的插件,但是我什么都没有,拜托,你能帮我吗?这很重要。非常感谢 C:\Users\cmorales\Desktop>java -jar SincroCloud2.jar Ejecutando el exe dentro de ejecutar en Obtener Proc

我需要帮助解决这个错误。我用两个Web服务创建了一个可运行的jar,当我用控制台执行它时,我犯了这个错误。我已经在类路径中添加了所有AxisJAR,但是我有这个。我用GlassFish运行这个,EclipseIndigo的插件,但是我什么都没有,拜托,你能帮我吗?这很重要。非常感谢

C:\Users\cmorales\Desktop>java -jar SincroCloud2.jar
Ejecutando el exe
dentro de ejecutar en Obtener Procesos
dentro de ejecutar en Obtener Procesos  4444
Voy a entrar en los webServices
AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (404)Not Found
 faultActor:
 faultNode:
 faultDetail:
    {}:return code:  404
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http
://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http
://www.w3.org/1999/xhtml"><head><title>GlassFish Server Open
Source Edition 3.1.2 - Error report</title><style type="text/css&
quot;><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-c
olor:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:whit
e;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-se
rif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Taho
ma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,A
rial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Ari
al,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}HR
{color : #525D76;}--></style> </head><body><h1>HTTP S
tatus 404 - </h1><hr/><p><b>type</b> Status report
</p><p><b>message</b></p><p><b>descrip
tion</b>The requested resource () is not available.</p><hr/>&l
t;h3>GlassFish Server Open Source Edition 3.1.2</h3></body></h
tml>
    {http://xml.apache.org/axis/}HttpErrorCode:404

(404)Not Found
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
 ava:744)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)

    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
 y.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at es.uniway.wscloud.WscloudImplSoapBindingStub.procesosProgramados(Wscl
 oudImplSoapBindingStub.java:306)
    at es.uniway.principal.ObtenerProcesos.ejecutar(ObtenerProcesos.java:35)

    at es.uniway.principal.SincronizadorCloud.main(SincronizadorCloud.java:1
 4)

您试图访问的URL似乎不存在。检查它是否正确。

哪个url?我这里没有任何url。你当然有。除此之外,您还试图如何解决您试图使用的Web服务?