Export Error: Cannot Access
Answered
Hey, i need Help.
When i try to export my Project comes this error:
Error:(82, 32) java: cannot access net.minecraft.server.v1_13_R2.PacketPlayOutPlayerInfo.PlayerInfoData
bad class file: /D:/Developer Verzeichniss/API/spigot-1.13.2.jar!/net/minecraft/server/v1_13_R2/PacketPlayOutPlayerInfo$PlayerInfoData.class
bad RuntimeInvisibleParameterAnnotations attribute: PlayerInfoData(com.mojang.authlib.GameProfile,int,net.minecraft.server.v1_13_R2.EnumGamemode,net.minecraft.server.v1_13_R2.IChatBaseComponent)
Please remove or make sure it appears in the correct subdirectory of the classpath.
What already try:
- Use .jar
- Use Maven dependancy
Please sign in to leave a comment.
It looks like a plug-in issue, please report to the vendor.
No, becurse when i have tthe same Project in Eclipse i can Export it without any errors.
Please report at https://github.com/MinecraftForge/MinecraftForge/issues with the sample project.
See also https://stackoverflow.com/questions/43828574/spigot-1-11-2-intellij-compiler-error-cannot-access-packetplayoutplayerinfo-play .
Try deleting and re-downloading all the dependencies. One of the jars may be corrupted.