Giter VIP home page Giter VIP logo

glowkit's Issues

Merge changes from Glowkit 1.13-hack into 1.13

Open to: community
Dependencies: #22


The 1.13-hack has some changes required for our implementation in Glowstone, mostly related to block-data. Once the builds are working again, we can merge 1.13-hack into 1.13 (only the necessary patches) and use that for Glowstone's 1.13 branch.

TriggerCommand.java:[16] The import java.util.stream.Collectors cannot be resolved

Just trying to get setup with Glowstone, I followed the steps here to fix the other dependencies: http://stackoverflow.com/questions/40048767/glowstone-install-maven-peer-not-authenticated-could-not-resolve-dependencies - but am stuck on Glowkit, I ran scripts/build.sh and it succeeded, but mvn install in Glowkit-Patched fails (using Java 1.8.0_73 if it matters, do I need Java 9?):

Glowkit-Patched $ mvn install
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Glowkit 1.11.2-R0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-enforcer-plugin:1.2:enforce (enforce-maven) @ glowkit ---
[INFO] 
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ glowkit ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory Glowkit/Glowkit-Patched/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ glowkit ---
[INFO] Changes detected - recompiling the module!
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/defaults/TriggerCommand.java:[16] The import java.util.stream.Collectors cannot be resolved
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/defaults/TriggerCommand.java:[90] The method stream() is undefined for the type Set<Objective>
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/defaults/TriggerCommand.java:[90] Collectors cannot be resolved
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/spigotmc/CustomTimingsHandler.java:[55] The method getCallerClass() in the type Reflection is not applicable for the arguments (int)
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/plugin/SimplePluginManager.java:[242] The method removeIf((<no type> softDependency) -> {}) is undefined for the type Collection<String>
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/plugin/SimplePluginManager.java:[301] The method stream() is undefined for the type List<Plugin>
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/CommandTarget.java:[10] The import java.util.stream.Collectors cannot be resolved
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/CommandTarget.java:[110] The method stream(GameMode[]) is undefined for the type Arrays
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/CommandTarget.java:[110] Collectors cannot be resolved
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/CommandTarget.java:[140] The method stream(EntityType[]) is undefined for the type Arrays
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/CommandTarget.java:[145] Collectors cannot be resolved
[INFO] 11 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.154s
[INFO] Finished at: Sat Apr 29 23:21:29 PDT 2017
[INFO] Final Memory: 16M/456M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project glowkit: Compilation failure: Compilation failure:
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/defaults/TriggerCommand.java:[16] The import java.util.stream.Collectors cannot be resolved
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/defaults/TriggerCommand.java:[90] The method stream() is undefined for the type Set<Objective>
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/defaults/TriggerCommand.java:[90] Collectors cannot be resolved
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/spigotmc/CustomTimingsHandler.java:[55] The method getCallerClass() in the type Reflection is not applicable for the arguments (int)
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/plugin/SimplePluginManager.java:[242] The method removeIf((<no type> softDependency) -> {}) is undefined for the type Collection<String>
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/plugin/SimplePluginManager.java:[301] The method stream() is undefined for the type List<Plugin>
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/CommandTarget.java:[10] The import java.util.stream.Collectors cannot be resolved
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/CommandTarget.java:[110] The method stream(GameMode[]) is undefined for the type Arrays
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/CommandTarget.java:[110] Collectors cannot be resolved
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/CommandTarget.java:[140] The method stream(EntityType[]) is undefined for the type Arrays
[ERROR] Glowkit/Glowkit-Patched/src/main/java/org/bukkit/command/CommandTarget.java:[145] Collectors cannot be resolved
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.