Solved package org.bukkit.plugin.java does not exist

Discussion in 'Spigot Plugin Development' started by blankman, Mar 29, 2020.

Thread Status:
Not open for further replies.
  1. I'm following this guide to create an empty plugin in Intellij. I'm using exactly the code they supplied, and I've included the Spigot API as a module. When I try to build the artifact, however, it says that org.bukkit.plugin.java does not exist, and thus can't be built. Why is this?
     
  2. Are you sure you've included the Spigot API in the right way? Also, have you imported org.bukkit.plugin.java.JavaPlugin? Does your IDE show any errors in the code?
     
  3. I've re-included it twice exactly according to their instructions. I have imported it, and the IDE does not show any errors.
     
  4. The wiki guide is wrong, you have to import Spigot/Spigot-API/target/spigot-api-<version>-shaded.jar instead of just Spigot/Spigot-API
     
Thread Status:
Not open for further replies.