Skip to content

Asgn2-VideoLike Gradle build fails #29

@mindcrime-ilab

Description

@mindcrime-ilab

The 2nd assignment won't build using gradle.

./gradlew clean build
:clean
:compileJava
warning: [options] bootstrap class path not set in conjunction with -source 1.7
/home/me/Dokumente/OnlineKurse/CloudServices1/assignments/mobilecloud-14/assignments/Asgn2-VideoLike/src/main/java/org/magnum/mobilecloud/video/AutoGrading.java:31: error: cannot find symbol
import org.magnum.mobilecloud.integration.test.UnsafeHttpsClient;
                                              ^
  symbol:   class UnsafeHttpsClient
  location: package org.magnum.mobilecloud.integration.test
/home/me/Dokumente/OnlineKurse/CloudServices1/assignments/mobilecloud-14/assignments/Asgn2-VideoLike/src/main/java/org/magnum/mobilecloud/video/AutoGrading.java:94: error: cannot find symbol
            HttpClient client = UnsafeHttpsClient.createUnsafeClient();
                                ^
  symbol:   variable UnsafeHttpsClient
  location: class AutoGrading
2 errors
1 warning
:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 9.768 secs

One suggestion from the forum is to add the test folder as source set and change the type to source - but I think it should be a real fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions