Compiling error

Discussion in 'Spigot Help' started by andrejonas, Oct 8, 2017.

  1. Here is my error now

    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project bukkit: Compilation failure
    [ERROR] /home/minecraft/build/Bukkit/src/main/java/org/bukkit/event/entity/EntityDamageEvent.java:[167] The type java.util.function.Function cannot be resolved. It is indirectly referenced from required .class files
    [ERROR]
    [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
    Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [sh, /home/minecraft/build/apache-maven-3.5.0/bin/mvn, clean, install]
    at org.spigotmc.builder.Builder.runProcess(Builder.java:555)
    at org.spigotmc.builder.Builder.main(Builder.java:421)
    at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:23)

    so I've had this for two days now anyone can help me? I've tried to reset multiple times.
    Im using ubuntu 14.04 and i have maven installed.
     

Share This Page