Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Build failed: "method does not override or implement a method from a supertype" #80

Open
k-jiang opened this issue Jun 21, 2018 · 2 comments

Comments

@k-jiang
Copy link

k-jiang commented Jun 21, 2018

Build failed with ./gradlew build
branch: 1.12.2

/some/path/DynmapForge/build/sources/main/java/org/dynmap/forge/DynmapPlugin.java:1235: error: method does not override or implement a method from a supertype
        @Override
        ^
/some/path/DynmapForge/build/sources/main/java/org/dynmap/forge/DynmapPlugin.java:1239: error: method does not override or implement a method from a supertype
        @Override
        ^
Note: /some/path/DynmapForge/build/sources/main/java/org/dynmap/forge/DynmapPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
:compileJava FAILED

FAILURE: Build failed with an exception.

A dependency problem?

@k-jiang
Copy link
Author

k-jiang commented Jun 21, 2018

It is a dependency problem.
Temporary fix: manually pull and mvn install webbukkit/DynmapCore once, then ./gradlew build the DynmapForge.

@mikeprimm
Copy link
Member

Every build of Dynmap (for Forge, Spigot, or otherwise) depends upon having a matching DynmapCore build - always update and build both.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants