CloudNetService / CloudNet

A modern application that can dynamically and easily deliver Minecraft oriented software
https://cloudnetservice.eu
Apache License 2.0
378 stars 120 forks source link

Unavaible to compile. #131

Closed JustZerooo closed 5 years ago

JustZerooo commented 5 years ago
Tenchuu@DESKTOP-K2IAUP3 MINGW64 ~/Desktop
$ git clone https://github.com/CloudNetService/CloudNet-v3.git
Cloning into 'CloudNet-v3'...
remote: Enumerating objects: 201, done.
remote: Counting objects: 100% (201/201), done.
remote: Compressing objects: 100% (122/122), done.
remote: Total 9579 (delta 41), reused 98 (delta 18), pack-reused 9378
Receiving objects: 100% (9579/9579), 85.30 MiB | 29.45 MiB/s, done.
Resolving deltas: 100% (4737/4737), done.
Updating files: 100% (923/923), done.

Tenchuu@DESKTOP-K2IAUP3 MINGW64 ~/Desktop
$ cd CloudNet-3.X
bash: cd: CloudNet-3.X: No such file or directory

Tenchuu@DESKTOP-K2IAUP3 MINGW64 ~/Desktop
$ cd CloudNet-v3/

Tenchuu@DESKTOP-K2IAUP3 MINGW64 ~/Desktop/CloudNet-v3 (master)
$ ./gradlew.bat
Downloading https://services.gradle.org/distributions/gradle-5.4.1-bin.zip
...................................................................................

Welcome to Gradle 5.4.1!

Here are the highlights of this release:
 - Run builds with JDK12
 - New API for Incremental Tasks
 - Updates to native projects, including Swift 5 support

For more details see https://docs.gradle.org/5.4.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

> Task :cloudnet-common:compileJava
C:\Users\Tenchuu\Desktop\CloudNet-v3\cloudnet-common\src\main\java\de\dytanic\cloudnet\common\unsafe\ReflectUnsafe.java:5: warning: Unsafe is internal proprietary API and may be removed in a future release
import sun.misc.Unsafe;
               ^
C:\Users\Tenchuu\Desktop\CloudNet-v3\cloudnet-common\src\main\java\de\dytanic\cloudnet\common\unsafe\ReflectUnsafe.java:5: warning: Unsafe is internal proprietary API and may be removed in a future release
import sun.misc.Unsafe;
               ^
C:\Users\Tenchuu\Desktop\CloudNet-v3\cloudnet-common\src\main\java\de\dytanic\cloudnet\common\unsafe\ReflectUnsafe.java:5: warning: Unsafe is internal proprietary API and may be removed in a future release
import sun.misc.Unsafe;
               ^
C:\Users\Tenchuu\Desktop\CloudNet-v3\cloudnet-common\src\main\java\de\dytanic\cloudnet\common\unsafe\ReflectUnsafe.java:5: warning: Unsafe is internal proprietary API and may be removed in a future release
import sun.misc.Unsafe;
               ^
C:\Users\Tenchuu\Desktop\CloudNet-v3\cloudnet-common\src\main\java\de\dytanic\cloudnet\common\unsafe\ReflectUnsafe.java:22: warning: Unsafe is internal proprietary API and may be removed in a future release
    @Getter
    ^
C:\Users\Tenchuu\Desktop\CloudNet-v3\cloudnet-common\src\main\java\de\dytanic\cloudnet\common\unsafe\ReflectUnsafe.java:29: warning: Unsafe is internal proprietary API and may be removed in a future release
            Field field = Unsafe.class.getDeclaredField("theUnsafe");
                          ^
C:\Users\Tenchuu\Desktop\CloudNet-v3\cloudnet-common\src\main\java\de\dytanic\cloudnet\common\unsafe\ReflectUnsafe.java:31: warning: Unsafe is internal proprietary API and may be removed in a future release
            unsafe = (Unsafe) field.get(null);
                      ^
C:\Users\Tenchuu\Desktop\CloudNet-v3\cloudnet-common\src\main\java\de\dytanic\cloudnet\common\unsafe\ReflectUnsafe.java:22: warning: Unsafe is internal proprietary API and may be removed in a future release
    @Getter
    ^
Note: C:\Users\Tenchuu\Desktop\CloudNet-v3\cloudnet-common\src\main\java\de\dytanic\cloudnet\common\concurrent\DefaultTaskScheduler.java uses or overrides 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.
8 warnings

> Task :cloudnet-driver:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :cloudnet:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :cloudnet-common:compileTestJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\Users\Tenchuu\Desktop\CloudNet-v3\cloudnet-common\src\test\java\de\dytanic\cloudnet\common\collection\MapsTest.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :cloudnet-driver:compileTestJava
Note: C:\Users\Tenchuu\Desktop\CloudNet-v3\cloudnet-driver\src\test\java\de\dytanic\cloudnet\driver\network\netty\NettyWebSocketServerExample.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :cloudnet-modules:cloudnet-bridge:compileJava FAILED
C:\Users\Tenchuu\Desktop\CloudNet-v3\cloudnet-modules\cloudnet-bridge\src\main\java\de\dytanic\cloudnet\ext\bridge\gomint\event\GoMintBridgeEvent.java:3: error: cannot access Event
import io.gomint.event.Event;
                      ^
  bad class file: C:\Users\Tenchuu\Desktop\CloudNet-v3\cloudnet-modules\libs\gomint-1.0-SNAPSHOT.jar(io/gomint/event/Event.class)
    class file has wrong version 55.0, should be 52.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':cloudnet-modules:cloudnet-bridge: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. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1m 25s
38 actionable tasks: 20 executed, 18 up-to-date

That should not be normal or?

issue-label-bot[bot] commented 5 years ago

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

juliarn commented 5 years ago

Are you building with java 11? This is necessary for the build to work.

JustZerooo commented 5 years ago

I build with Java 8 i dont need use java 11 .... i dont like new java 11

derrop commented 5 years ago

Well, then you can't build CloudNet.