Compile Craftbukkit?

Discussion in 'Plugin Development' started by narrowtux, Mar 27, 2011.

  1. Offline

    narrowtux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi, I finally managed to compile and install Bukkit with maven, but it can't compile CraftBukkit because it doesn't find the bukkit and minecraft-server files.
    Here's the output of mvn clean package:
    Code:
    [INFO] Scanning for projects...
    [INFO]
    [INFO] ------------------------------------------------------------------------
    [INFO] Building CraftBukkit 0.0.1-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    Downloading: http://repo.bukkit.org/artifactory/repo/org/bukkit/bukkit/0.0.1-SNAPSHOT/maven-metadata.xml
    [WARNING] Could not transfer metadata org.bukkit:bukkit:0.0.1-SNAPSHOT/maven-metadata.xml from/to bukkit-repo (http://repo.bukkit.org/artifactory/repo): Error transferring file: repo.bukkit.org
    Downloading: http://repo.bukkit.org/artifactory/repo/org/bukkit/bukkit/0.0.1-SNAPSHOT/maven-metadata.xml
    [WARNING] Could not transfer metadata org.bukkit:bukkit:0.0.1-SNAPSHOT/maven-metadata.xml from/to bukkit-repo (http://repo.bukkit.org/artifactory/repo): Error transferring file: repo.bukkit.org
    [INFO]
    [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ craftbukkit ---
    [INFO] Deleting /Users/tux/Entwicklung/CraftBukkit/target
    [INFO]
    [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ craftbukkit ---
    [INFO] Using 'UTF-8' encoding to copy filtered resources.
    [INFO] skip non existing resourceDirectory /Users/tux/Entwicklung/CraftBukkit/src/main/resources
    [INFO]
    [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @ craftbukkit ---
    [INFO] Compiling 156 source files to /Users/tux/Entwicklung/CraftBukkit/target/classes
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 7.006s
    [INFO] Finished at: Sun Mar 27 08:16:50 CEST 2011
    [INFO] Final Memory: 8M/81M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project craftbukkit: Compilation failure: Compilation failure:
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityBoat.java:[16,31] cannot find symbol
    [ERROR] symbol  : class VehicleUpdateEvent
    [ERROR] location: package org.bukkit.event.vehicle
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/World.java:[362,46] cannot find symbol
    [ERROR] symbol  : constructor BlockPhysicsEvent(org.bukkit.block.Block,int)
    [ERROR] location: class org.bukkit.event.block.BlockPhysicsEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/World.java:[1611,35] cannot find symbol
    [ERROR] symbol  : constructor BlockCanBuildEvent(org.bukkit.block.Block,int,boolean)
    [ERROR] location: class org.bukkit.event.block.BlockCanBuildEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Entity.java:[284,54] cannot find symbol
    [ERROR] symbol  : constructor EntityCombustEvent(org.bukkit.entity.Entity)
    [ERROR] location: class org.bukkit.event.entity.EntityCombustEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Entity.java:[493,51] cannot find symbol
    [ERROR] symbol  : constructor VehicleBlockCollisionEvent(org.bukkit.entity.Vehicle,org.bukkit.block.Block)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleBlockCollisionEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Entity.java:[553,51] cannot find symbol
    [ERROR] symbol  : constructor EntityCombustEvent(org.bukkit.entity.Entity)
    [ERROR] location: class org.bukkit.event.entity.EntityCombustEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Entity.java:[1037,45] cannot find symbol
    [ERROR] symbol  : constructor VehicleExitEvent(org.bukkit.craftbukkit.entity.CraftVehicle,org.bukkit.entity.LivingEntity)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleExitEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Entity.java:[1053,41] cannot find symbol
    [ERROR] symbol  : constructor VehicleExitEvent(org.bukkit.craftbukkit.entity.CraftVehicle,org.bukkit.entity.LivingEntity)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleExitEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityLiving.java:[463,33] cannot find symbol
    [ERROR] symbol  : constructor EntityDeathEvent(org.bukkit.craftbukkit.entity.CraftEntity,java.util.List<org.bukkit.inventory.ItemStack>)
    [ERROR] location: class org.bukkit.event.entity.EntityDeathEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[98,58] cannot find symbol
    [ERROR] symbol  : variable q
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[112,35] cannot find symbol
    [ERROR] symbol  : variable q
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[167,55] cannot find symbol
    [ERROR] symbol  : variable q
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[214,30] cannot find symbol
    [ERROR] symbol  : variable q
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[226,34] cannot find symbol
    [ERROR] symbol  : variable q
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[255,21] cannot find symbol
    [ERROR] symbol  : variable byId
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[260,25] cannot find symbol
    [ERROR] symbol  : variable q
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[275,21] cannot find symbol
    [ERROR] symbol  : variable byId
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[296,21] cannot find symbol
    [ERROR] symbol  : variable byId
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[300,21] cannot find symbol
    [ERROR] symbol  : variable q
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[312,21] cannot find symbol
    [ERROR] symbol  : variable byId
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[428,22] cannot find symbol
    [ERROR] symbol  : variable p
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[432,66] cannot find symbol
    [ERROR] symbol  : variable byId
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Chunk.java:[456,41] cannot find symbol
    [ERROR] symbol  : variable byId
    [ERROR] location: interface org.bukkit.block.Block
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/Explosion.java:[204,35] cannot find symbol
    [ERROR] symbol  : constructor EntityExplodeEvent(org.bukkit.entity.Entity,org.bukkit.Location,java.util.List<org.bukkit.block.Block>)
    [ERROR] location: class org.bukkit.event.entity.EntityExplodeEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityCreeper.java:[89,44] cannot find symbol
    [ERROR] symbol  : constructor ExplosionPrimeEvent(org.bukkit.craftbukkit.entity.CraftEntity,float,boolean)
    [ERROR] location: class org.bukkit.event.entity.ExplosionPrimeEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/ServerConfigurationManager.java:[96,42] cannot find symbol
    [ERROR] symbol  : constructor PlayerJoinEvent(org.bukkit.entity.Player,java.lang.String)
    [ERROR] location: class org.bukkit.event.player.PlayerJoinEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/ServerConfigurationManager.java:[132,33] cannot find symbol
    [ERROR] symbol  : constructor PlayerLoginEvent(org.bukkit.entity.Player)
    [ERROR] location: class org.bukkit.event.player.PlayerLoginEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/ServerConfigurationManager.java:[192,42] cannot find symbol
    [ERROR] symbol  : constructor PlayerRespawnEvent(org.bukkit.entity.Player,org.bukkit.Location)
    [ERROR] location: class org.bukkit.event.player.PlayerRespawnEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityPlayer.java:[120,33] cannot find symbol
    [ERROR] symbol  : constructor EntityDeathEvent(org.bukkit.craftbukkit.entity.CraftEntity,java.util.List<org.bukkit.inventory.ItemStack>)
    [ERROR] location: class org.bukkit.event.entity.EntityDeathEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/NetServerHandler.java:[81,32] cannot find symbol
    [ERROR] symbol  : constructor PlayerKickEvent(org.bukkit.entity.Player,java.lang.String,java.lang.String)
    [ERROR] location: class org.bukkit.event.player.PlayerKickEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/NetServerHandler.java:[127,40] cannot find symbol
    [ERROR] symbol  : constructor PlayerMoveEvent(org.bukkit.entity.Player,org.bukkit.Location,org.bukkit.Location)
    [ERROR] location: class org.bukkit.event.player.PlayerMoveEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/NetServerHandler.java:[285,32] cannot find symbol
    [ERROR] symbol  : constructor PlayerMoveEvent(org.bukkit.entity.Player,org.bukkit.Location,org.bukkit.Location)
    [ERROR] location: class org.bukkit.event.player.PlayerMoveEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/NetServerHandler.java:[539,36] cannot find symbol
    [ERROR] symbol  : constructor PlayerItemHeldEvent(org.bukkit.craftbukkit.entity.CraftPlayer,int,int)
    [ERROR] location: class org.bukkit.event.player.PlayerItemHeldEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/NetServerHandler.java:[573,36] cannot find symbol
    [ERROR] symbol  : constructor PlayerChatEvent(org.bukkit.entity.Player,java.lang.String)
    [ERROR] location: class org.bukkit.event.player.PlayerChatEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/NetServerHandler.java:[596,32] cannot find symbol
    [ERROR] symbol  : constructor PlayerChatEvent(org.bukkit.craftbukkit.entity.CraftPlayer,java.lang.String)
    [ERROR] location: class org.bukkit.event.player.PlayerChatEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/NetServerHandler.java:[677,41] cannot find symbol
    [ERROR] symbol  : constructor PlayerAnimationEvent(org.bukkit.entity.Player)
    [ERROR] location: class org.bukkit.event.player.PlayerAnimationEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/NetServerHandler.java:[689,43] cannot find symbol
    [ERROR] symbol  : constructor PlayerToggleSneakEvent(org.bukkit.entity.Player)
    [ERROR] location: class org.bukkit.event.player.PlayerToggleSneakEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/NetServerHandler.java:[833,40] cannot find symbol
    [ERROR] symbol  : constructor SignChangeEvent(org.bukkit.craftbukkit.block.CraftBlock,org.bukkit.entity.Player,java.lang.String[])
    [ERROR] location: class org.bukkit.event.block.SignChangeEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/ChunkProviderServer.java:[83,52] cannot find symbol
    [ERROR] symbol  : constructor ChunkLoadEvent(org.bukkit.Chunk)
    [ERROR] location: class org.bukkit.event.world.ChunkLoadEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/ChunkProviderServer.java:[214,41] cannot find symbol
    [ERROR] symbol  : constructor ChunkUnloadEvent(org.bukkit.Chunk)
    [ERROR] location: class org.bukkit.event.world.ChunkUnloadEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityEgg.java:[197,44] cannot find symbol
    [ERROR] symbol  : constructor PlayerEggThrowEvent(org.bukkit.entity.Player,org.bukkit.entity.Egg,boolean,byte,org.bukkit.entity.CreatureType)
    [ERROR] location: class org.bukkit.event.player.PlayerEggThrowEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityZombie.java:[24,43] cannot find symbol
    [ERROR] symbol  : constructor EntityCombustEvent(org.bukkit.entity.Entity)
    [ERROR] location: class org.bukkit.event.entity.EntityCombustEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityMinecart.java:[89,35] cannot find symbol
    [ERROR] symbol  : constructor VehicleCreateEvent(org.bukkit.entity.Vehicle)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleCreateEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityMinecart.java:[105,39] cannot find symbol
    [ERROR] symbol  : constructor VehicleDamageEvent(org.bukkit.entity.Vehicle,org.bukkit.entity.Entity,int)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleDamageEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityMinecart.java:[469,52] cannot find symbol
    [ERROR] symbol  : class VehicleUpdateEvent
    [ERROR] location: class net.minecraft.server.EntityMinecart
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityMinecart.java:[472,41] cannot find symbol
    [ERROR] symbol  : constructor VehicleMoveEvent(org.bukkit.entity.Vehicle,org.bukkit.Location,org.bukkit.Location)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleMoveEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityMinecart.java:[617,60] cannot find symbol
    [ERROR] symbol  : constructor VehicleEntityCollisionEvent(org.bukkit.entity.Vehicle,org.bukkit.entity.Entity)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleEntityCollisionEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityMinecart.java:[627,55] cannot find symbol
    [ERROR] symbol  : constructor VehicleEnterEvent(org.bukkit.entity.Vehicle,org.bukkit.entity.Entity)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleEnterEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityMinecart.java:[753,42] cannot find symbol
    [ERROR] symbol  : constructor VehicleEnterEvent(org.bukkit.entity.Vehicle,org.bukkit.entity.Entity)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleEnterEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/BlockLeaves.java:[129,33] cannot find symbol
    [ERROR] symbol  : constructor LeavesDecayEvent(org.bukkit.block.Block)
    [ERROR] location: class org.bukkit.event.block.LeavesDecayEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityFireball.java:[153,40] cannot find symbol
    [ERROR] symbol  : constructor ExplosionPrimeEvent(org.bukkit.craftbukkit.entity.CraftEntity,float,boolean)
    [ERROR] location: class org.bukkit.event.entity.ExplosionPrimeEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityTNTPrimed.java:[73,36] cannot find symbol
    [ERROR] symbol  : constructor ExplosionPrimeEvent(org.bukkit.craftbukkit.entity.CraftEntity,float,boolean)
    [ERROR] location: class org.bukkit.event.entity.ExplosionPrimeEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/BlockFlowing.java:[101,37] cannot find symbol
    [ERROR] symbol  : constructor BlockFromToEvent(org.bukkit.craftbukkit.block.CraftBlock,org.bukkit.block.BlockFace)
    [ERROR] location: class org.bukkit.event.block.BlockFromToEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/BlockFlowing.java:[131,45] cannot find symbol
    [ERROR] symbol  : constructor BlockFromToEvent(org.bukkit.craftbukkit.block.CraftBlock,org.bukkit.block.BlockFace)
    [ERROR] location: class org.bukkit.event.block.BlockFromToEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntitySkeleton.java:[44,43] cannot find symbol
    [ERROR] symbol  : constructor EntityCombustEvent(org.bukkit.entity.Entity)
    [ERROR] location: class org.bukkit.event.entity.EntityCombustEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntitySkeleton.java:[110,33] cannot find symbol
    [ERROR] symbol  : constructor EntityDeathEvent(org.bukkit.craftbukkit.entity.CraftEntity,java.util.List<org.bukkit.inventory.ItemStack>)
    [ERROR] location: class org.bukkit.event.entity.EntityDeathEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityBoat.java:[37,44] cannot find symbol
    [ERROR] symbol  : constructor VehicleEntityCollisionEvent(org.bukkit.entity.Vehicle,org.bukkit.entity.Entity)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleEntityCollisionEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityBoat.java:[86,35] cannot find symbol
    [ERROR] symbol  : constructor VehicleCreateEvent(org.bukkit.entity.Vehicle)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleCreateEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityBoat.java:[102,39] cannot find symbol
    [ERROR] symbol  : constructor VehicleDamageEvent(org.bukkit.entity.Vehicle,org.bukkit.entity.Entity,int)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleDamageEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityBoat.java:[326,52] cannot find symbol
    [ERROR] symbol  : class VehicleUpdateEvent
    [ERROR] location: class net.minecraft.server.EntityBoat
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityBoat.java:[329,41] cannot find symbol
    [ERROR] symbol  : constructor VehicleMoveEvent(org.bukkit.entity.Vehicle,org.bukkit.Location,org.bukkit.Location)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleMoveEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/net/minecraft/server/EntityBoat.java:[375,42] cannot find symbol
    [ERROR] symbol  : constructor VehicleEnterEvent(org.bukkit.entity.Vehicle,org.bukkit.entity.Entity)
    [ERROR] location: class org.bukkit.event.vehicle.VehicleEnterEvent
    [ERROR]
    [ERROR] /Users/tux/Entwicklung/CraftBukkit/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java:[81,32] cannot find symbol
    [ERROR] symbol  : constructor BlockPlaceEvent(org.bukkit.block.Block,org.bukkit.block.BlockState,org.bukkit.block.Block,org.bukkit.craftbukkit.inventory.CraftItemStack,org.bukkit.entity.Player,boolean)
    [ERROR] location: class org.bukkit.event.block.BlockPlaceEvent
    [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
    
    and here's my mvn --version
    Code:
    tux-macbook:CraftBukkit tux$ mvn --version
    Apache Maven 3.0.2 (r1056850; 2011-01-09 01:58:10+0100)
    Java version: 1.6.0_24, vendor: Apple Inc.
    Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    Default locale: de_DE, platform encoding: MacRoman
    OS name: "mac os x", version: "10.7", arch: "x86_64", family: "mac"
    
    Any help is appreciated :)
  2. Offline

    Drakia

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    When I'm trying to compile Bukkit/CraftBukkit, I have to do
    mvn clean install
    mvn install
    in the Bukkit folder before I can actually compile CraftBukkit, for some reason without the second "mvn install" in the Bukkit folder it won't work for me.
  3. Offline

    narrowtux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Doesn't work for me :(
    I have got the correctly built bukkit-SNAPSHOT-0.0.1.jar as well as the minecraft-server-1.3.jar in the ~/.m2/repository but when I try to compile craftbukkit, it seems that it doesn't find any of them.
  4. Offline

    Drakia

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Did the bukkit .jar file end up in ~/.m2/repository/org/bukkit/bukkit/0.0.1-SNAPSHOT/?
  5. Offline

    narrowtux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yes, thats the exact location
  6. Offline

    Drakia

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I don't know then, I only use Maven for compiling the Bukkit source, and I gave you the instructions that worked for me, sorry :(
  7. Offline

    narrowtux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Okay, fixed it. I simply removed my ~/.m2 directory and built everything again. Now it works
    friesnadrink likes this.

Share This Page