Hello!
Just tried to upload my first hosted service to Backendless as a test - Unfortunately I am receiving a timeout.
Any idea what could be the reason?
Thanks
Hi Norman,
Are you trying to upload a sample service or your own jar?
My own jar…
Sure, Thanks for your fast response!
Does your service implement IBackendlessService?
Yes
Hi, Norman!
Try to exclude .classpath and .project files from your jar, then rebuild it and try to deploy it again.
best regards,
Alex
Hi Alexandr,
Unfortunately it does not work - is there any special project setup required?
I am using:
- JRE = 1.8
- Jar file from CloudRunner SDK 3.0.0
Thanks
No, nothing special is needed.
The only difference I see is that we’re using different IDEs - I use Intellij idea.
I’ve tried to build a service based on your code on my environment - an got a deployable jar. I’ve sent a link to your email. Can you try to deploy it to your app and check if it works as needed?
Hi Alexandr,
Thanks for that - I was able to upload it.
But do you know what I would need to change on my side?
Thanks
We’re investgating this issue now. Probably eclipse builds jar in some special way. So for now you can try to change environment that builds jar. Try to make it using Idea, or with jar tool.
Hey Guys, Any update on this or should I go with the other environment? Thanks!
Hi, Norman!
I’m very sorry for this delay. Finally, I’ve caught your problem. Your jar contains source files, but should have compiled code.
When building jar through eclipse, make sure that it contains .class files, not .java.
Hope it helps.
best regards,
Alex
Thank you very much!