Solved org.bukkit.craftbukkit not importing

Discussion in 'Plugin Development' started by Shxke, May 11, 2019.

  1. Offline


    So, I've been coding an NPC system, using packets. I recently switched to intellij, as well as maven. I began the project in eclipse, but moved to intellij. In eclipse all the imports worked fine, but when I imported it to intellij, some didnt work (org.bukkit.craftbukkit, GameProfile, and all the packets). Every other class works fine. I'm guessing that it has something to do with the maven. In eclipse I used a jar file, not maven, and it worked then so thats what I think. If someone could help me that would be amazing.

    Figured it out. I had to run BuildTools, and then added craftbukkit to the pom.xml.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 11, 2019

Share This Page