Before you mark this as a duplicate I have already searched through every single once I could find and none of the answers worked. This is my code in eclipse:
package me.[my mc uname].myplugin;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin {
public void onEnable() {
}
}
Getting this error on line 3: The type org.bukkit.plugin.java.JavaPlugin is not accessible
Yes i have the spigot api in my build path (spigot-1.15.2.jar)
I am running Java 64 bit 1.8.0, eclipse 64 bit 4.15, and windows 10 64 bit
I have tried removing JavaPlugin and was getting the same error
I have tried restarting my computer/eclipse/refreshing the script
I dont know what to do