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

Build error #23

Closed
handicraftsman opened this issue Sep 6, 2018 · 2 comments
Closed

Build error #23

handicraftsman opened this issue Sep 6, 2018 · 2 comments
Labels
invalid The issue didn't exist, or it wasn't an issue, or it was already fixed

Comments

@handicraftsman
Copy link

> Task :compileJava 
warning: No processor claimed any of these annotations: mezz.jei.api.JEIPlugin,mcp.MethodsReturnNonnullByDefault,net.minecraftforge.common.config.Config,net.minecraftforge.fml.common.Mod.EventBusSubscriber,net.minecraftforge.fml.common.Optional.Method,net.minecraftforge.fml.common.Optional.Interface,net.minecraftforge.common.capabilities.CapabilityInject,net.minecraftforge.fml.common.Mod.Instance,net.minecraftforge.fml.common.registry.GameRegistry.ObjectHolder,javax.annotation.ParametersAreNonnullByDefault,net.minecraftforge.common.config.Config.Comment,net.minecraftforge.fml.common.Mod.EventHandler,net.minecraftforge.fml.common.API,net.minecraftforge.fml.common.eventhandler.SubscribeEvent,net.minecraftforge.common.config.Config.RequiresMcRestart,net.minecraftforge.fml.common.SidedProxy,net.minecraftforge.fml.common.Mod,net.minecraftforge.fml.relauncher.SideOnly,net.minecraftforge.common.config.Config.LangKey,javax.annotation.Nonnull,javax.annotation.Nullable
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith': class file for com.google.errorprone.annotations.CompatibleWith not found
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith'
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith'
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith'
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith'
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith'
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith'
/home/ancient/Load/Bewitchment/build/sources/main/java/com/bewitchment/client/core/event/MimicEventHandler.java:43: error: cannot access AddPlayerData
                        NetworkPlayerInfo victimInfo = new NetworkPlayerInfo(new GameProfile(event.getVictimID(), event.getVictimName()));
                                                       ^
  bad class file: /home/ancient/.gradle/caches/minecraft/net/minecraftforge/forge/1.12.2-14.23.4.2760/snapshot/20171003/forgeBin-1.12.2-14.23.4.2760.jar(net/minecraft/network/play/server/SPacketPlayerListItem$AddPlayerData.class)
    bad RuntimeInvisibleParameterAnnotations attribute: AddPlayerData(GameProfile,int,GameType,ITextComponent)
    Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error
8 warnings

This is a build in a fresh workspace.
By the way, /gradlew does not have an executable flag.

@zabi94 zabi94 added the invalid The issue didn't exist, or it wasn't an issue, or it was already fixed label Sep 6, 2018
@zabi94
Copy link
Contributor

zabi94 commented Sep 6, 2018

This seems to be a forge bug when a mod deals with a specific class. You need to setup the environment first with the setupDecompWorkspace option

@zabi94 zabi94 closed this as completed Sep 6, 2018
@handicraftsman
Copy link
Author

Oh, thanks. I do not work with minecraft mods much, so i did not need this before. Waiting for MC to decompile now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid The issue didn't exist, or it wasn't an issue, or it was already fixed
Projects
None yet
Development

No branches or pull requests

2 participants