governator icon indicating copy to clipboard operation
governator copied to clipboard

Compile failure

Open ljramones opened this issue 11 years ago • 0 comments

Hi I just checked out the code and tried to compile. Apparently in file LifecycleManager in com.netflix.governator.lifecycle. The class Resource is missing a method called lookup (public String lookup() is the signature )

private Resource adjustResource(final Resource resource, final Class siteType, final String siteName) { return new Resource()

Here is the build run trace for gradlew

./gradlew build The ConfigurationContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead. The TaskContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead. :governator:compileJava warning: [options] bootstrap class path not set in conjunction with -source 1.6 /Users/larrymitchell/rpilframework/governator/governator-core/src/main/java/com/netflix/governator/lifecycle/LifecycleManager.java:439: error: <anonymous com.netflix.governator.lifecycle.LifecycleManager$1> is not abstract and does not override abstract method lookup() in Resource { ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error 1 warning :governator:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':governator: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: 13.593 secs

ljramones avatar Aug 25 '14 21:08 ljramones