mobile-cloud-asgn1
mobile-cloud-asgn1 copied to clipboard
Submission Package
I imported the project into Eclipse and get an error message: ``` Could not run phased build action using Gradle distribution 'https://services.gradle.org/distributions/gradle-6.0-bin.zip'. Build file '/home/marting/git/coursera-cloud-applications/mobile-cloud-asgn1/build.gradle' line: 2 An exception occurred...
retrofit.RetrofitError: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $ at retrofit.RetrofitError.conversionError(RetrofitError.java:32) at retrofit.RestAdapter$RestHandler.invokeRequest(RestAdapter.java:377) at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:240) at com.sun.proxy.$Proxy11.setVideoData(Unknown Source) at org.magnum.dataup.AutoGradingTest.testAddVideoData(AutoGradingTest.java:149) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at...
My RestFul API practice 1.
I have gone through some RESTful API standards It shows that, must include the Plural nouns, Use like, GET /videos GET /videos/:{id} POST /videos/
The `autograder-home` path references a non-existing path and causes the `AutoGrading` to fail with following excecption. ``` Exception in thread "main" java.io.FileNotFoundException: The Git repository at './.autograder/' could not be...
By importing the project as is. Eclipse encounters the following: `org.gradle.tooling.BuildException: Could not fetch model of type 'GradleBuild' using Gradle distribution 'https://services.gradle.org/distributions/gradle-5.0-bin.zip'. at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:51) at org.gradle.tooling.internal.consumer.ExceptionTransformer.transform(ExceptionTransformer.java:29) at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:41) at org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:57)...
Removed the wrapper task and added 'mainClassName'
Submitting Pull Request