Error symbol on my project folder
-
kishore.k_84Participant8 years, 10 months ago #5360
After running “appcode-deploy.xml” as an Ant Build its showing build successful, but I’m getting an error symbol on my project folder. Can anyone help on this?
Buildfile: workspaceWhatsAppappcode-deploy.xml
init:
[delete] Deleting: workspaceWhatsAppdeployWhatsApp.jar
[delete] Deleting: workspaceWhatsAppdeployzipWhatsApp.zip
build:
[javac] workspaceWhatsAppappcode-deploy.xml:63: warning: ‘includeantruntime’ was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[jar] Building jar: workspaceWhatsAppdeployWhatsApp.jar
zip:
[zip] Building zip: workspaceWhatsAppdeployzipWhatsApp.zip
deploy:
[deploy] Build started
[deploy] Starting upload for :workspaceWhatsAppdeploy/zip/WhatsApp.zip
[deploy] executing request POST http://localhost:8080/cw/uploadappcode.m HTTP/1.1
[deploy] org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
[deploy] at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:140)
[deploy] at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:318)
[deploy] at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)
[deploy] at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
[deploy] at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
[deploy] at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
[deploy] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
[deploy] at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
[deploy] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
[deploy] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
[deploy] at com.appmashups.appcode.deploy.AppCodeDeployTask.executeMultiPartRequest(AppCodeDeployTask.java:114)
[deploy] at com.appmashups.appcode.deploy.AppCodeDeployTask.execute(AppCodeDeployTask.java:82)
[deploy] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[deploy] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[deploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[deploy] at java.lang.reflect.Method.invoke(Unknown Source)
[deploy] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[deploy] at org.apache.tools.ant.Task.perform(Task.java:348)
[deploy] at org.apache.tools.ant.Target.execute(Target.java:435)
[deploy] at org.apache.tools.ant.Target.performTasks(Target.java:456)
[deploy] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
[deploy] at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
[deploy] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[deploy] at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:36)
[deploy] at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
[deploy] at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:452)
[deploy] at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:139)
[deploy] Caused by: java.net.ConnectException: Connection refused: connect
[deploy] at java.net.DualStackPlainSocketImpl.connect0(Native Method)
[deploy] at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
[deploy] at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
[deploy] at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
[deploy] at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
[deploy] at java.net.PlainSocketImpl.connect(Unknown Source)
[deploy] at java.net.SocksSocketImpl.connect(Unknown Source)
[deploy] at java.net.Socket.connect(Unknown Source)
[deploy] at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:72)
[deploy] at org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:123)
[deploy] … 26 more
[deploy] Upload Completed for : workspaceWhatsAppdeploy/zip/WhatsApp.zip
BUILD SUCCESSFUL
Total time: 8 secondsdeepak.p_20154Participant5 years, 8 months ago #5678solution:
If you are getting an error symbol on your project, then there is a problem with your Project Build Path. Kindly check in your Project Build Path whether ‘dbsync-sdk.jar’ file is added under Libraries tab. If not then please add dbsync-sdk.jar file and save. Once this is done again run your appcode-deploy.xml , now the problem should be fixed.
You must be logged in to reply to this topic.