[INFO] Registering runner on: http://api.backendless.com with secretKey: [hidden by me]
[INFO] Runner successfully registered
[INFO] Parsing event model…
[INFO] Build successfully: 0 handlers, 0 timers, 1 service
[INFO] Deploying model to server, and starting debug…
[ERROR] Failed deploying service
[INFO] Debugging Utility disconnected successfully
[INFO] Thank you for using Backendless
this is the relevant part from my runner.properties file:
The problem arises from the configuration changes you made in runner.properties. Pointing both location.classes and location.jar to the same directory is not a good idea. What you should do is this:
Configure IDE to compile your code into a directory located outside of the "src" directory structure.
Modify the location.classes property in the runner.properties file to point to the directory from (1)
Change the location.jar property to what it was before (must point to the libs folder from the CodeRuner SDK distribution.
I tried deploying your service after making the changes described above and it deployed just fine:
[INFO] CodeRunner(tm) Backendless Debugging Utility
[INFO] Copyright(C) 2016 Backendless Corp. All rights reserved.
[INFO] Version: 3.0.0 Build date: 20160219-0848
[INFO] CodeRunner session is running for 2 hour and will be terminated on 11:32:41.176[UTC]
[INFO] Registering runner on: http://api.backendless.com with secretKey: DE9180F0-XXXXXX
[INFO] Runner successfully registered
[INFO] Parsing event model...
[INFO] Build successfully: 0 handlers, 0 timers, 1 service
[INFO] Deploying model to server, and starting debug...
[INFO] Model successfully deployed.
[INFO] Waiting for events...
/CodeRunner Root/
/bin << comes with code runner
/libs << comes with code runner
/classes << create this directory
You have a choice of:
Compile classes into the /classes directory. If you do that, it should contain directories for your packages too (that is full path will be /classes/com/tabloid/backendapi/…etc
OR
put your jar file into the “libs” folder
Make sure to run CodeRunner.sh from the bin directory.
I had already a service with the same name, that I uploaded straight in the Business logic console.
I deleted it, and the running the CodeRunner was successful.
Also I could run a hello world service and see it printed.
still trying to save to a table failed, but I will open another topic for that the benefit of the forum.