Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Getting error when running "gradlew.bat clean :yescom:ui:build" #4

Open
Alphatire1 opened this issue Jul 17, 2023 · 0 comments
Open

Comments

@Alphatire1
Copy link

`Starting a Gradle Daemon (subsequent builds will be faster)

Configure project :

??? ????????? ?????? ?????? ?????? ???? ?????
??? ????? ? ??? ? ???? ?? ???? ?????????? ???
??? ??????? ? ???? ??? ? ???? ?????? ????
? ???????? ? ? ??????? ??????? ?????? ???
? ?????????????????????? ????? ?? ??????????? ????
????? ?? ?? ?? ??? ? ?? ?? ? ?? ?????? ? ?? ? ?
??? ??? ? ? ?? ?? ? ? ? ? ? ? ?? ? ? ?
? ? ?? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ?
? ? ?

Task :yescom:api:compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Task :yescom:core:compileJava FAILED
C:\Users\Foxcu\Downloads\ant-farm-v2.0-main\ant-farm-v2.0-main\yescom-core\src\main\java\com\github\steveice10\mc\protocol\packet\ingame\server\world\ServerChunkDataPacket.java:6: error: package com.github.steveice10.opennbt.tag.builtin does not exist
import com.github.steveice10.opennbt.tag.builtin.CompoundTag;
^
C:\Users\Foxcu\Downloads\ant-farm-v2.0-main\ant-farm-v2.0-main\yescom-core\src\main\java\com\github\steveice10\mc\protocol\packet\ingame\server\world\ServerChunkDataPacket.java:23: error: cannot find symbol
private CompoundTag[] tileEntities;
^
symbol: class CompoundTag
location: class ServerChunkDataPacket
C:\Users\Foxcu\Downloads\ant-farm-v2.0-main\ant-farm-v2.0-main\yescom-core\src\main\java\com\github\steveice10\mc\protocol\packet\ingame\server\world\ServerChunkDataPacket.java:87: error: cannot find symbol
public CompoundTag[] getTileEntities() {
^
symbol: class CompoundTag
location: class ServerChunkDataPacket
C:\Users\Foxcu\Downloads\ant-farm-v2.0-main\ant-farm-v2.0-main\yescom-core\src\main\java\ez\pogdog\yescom\core\query\invalidmove\PlayerHandle.java:28: error: package com.github.steveice10.opennbt.tag.builtin does not exist
import com.github.steveice10.opennbt.tag.builtin.StringTag;
^
C:\Users\Foxcu\Downloads\ant-farm-v2.0-main\ant-farm-v2.0-main\yescom-core\src\main\java\ez\pogdog\yescom\core\query\invalidmove\PlayerHandle.java:29: error: package com.github.steveice10.opennbt.tag.builtin does not exist
import com.github.steveice10.opennbt.tag.builtin.Tag;
^
C:\Users\Foxcu\Downloads\ant-farm-v2.0-main\ant-farm-v2.0-main\yescom-core\src\main\java\com\github\steveice10\mc\protocol\packet\ingame\server\world\ServerChunkDataPacket.java:43: error: cannot find symbol
tileEntities = new CompoundTag[in.readVarInt()];
^
symbol: class CompoundTag
location: class ServerChunkDataPacket
C:\Users\Foxcu\Downloads\ant-farm-v2.0-main\ant-farm-v2.0-main\yescom-core\src\main\java\com\github\steveice10\mc\protocol\packet\ingame\server\world\ServerChunkDataPacket.java:64: error: cannot find symbol
for(CompoundTag tag : this.column.getTileEntities()) {
^
symbol: class CompoundTag
location: class ServerChunkDataPacket
C:\Users\Foxcu\Downloads\ant-farm-v2.0-main\ant-farm-v2.0-main\yescom-core\src\main\java\ez\pogdog\yescom\core\query\invalidmove\PlayerHandle.java:258: error: cannot find symbol
for (CompoundTag tileEntity : chunkData.getTileEntities()) {
^
symbol: class CompoundTag
location: class PlayerHandle
C:\Users\Foxcu\Downloads\ant-farm-v2.0-main\ant-farm-v2.0-main\yescom-core\src\main\java\ez\pogdog\yescom\core\query\invalidmove\PlayerHandle.java:259: error: cannot find symbol
Map<String, Tag> values = tileEntity.getValue();
^
symbol: class Tag
location: class PlayerHandle
C:\Users\Foxcu\Downloads\ant-farm-v2.0-main\ant-farm-v2.0-main\yescom-core\src\main\java\ez\pogdog\yescom\core\query\invalidmove\PlayerHandle.java:260: error: cannot find symbol
String blockID = (String)values.getOrDefault("id", new StringTag("secret:message:WTF!!")).getValue();
^
symbol: class StringTag
location: class PlayerHandle
Note: C:\Users\Foxcu\Downloads\ant-farm-v2.0-main\ant-farm-v2.0-main\yescom-core\src\main\java\ez\pogdog\yescom\core\config\ConfigHandler.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
10 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':yescom:core: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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 7s
6 actionable tasks: 5 executed, 1 up-to-date`

How would I fix?

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

1 participant