1
在Eclipse中,我在我的頂部空白行有一個錯誤,我不能擺脫它。這裏是我的代碼(我正在製作一個bukkit插件):Eclipse錯誤com.avaje.ebean.EbeanServer未解決
//this is where I get the error
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
public class Main extends JavaPlugin {
@Override
public void onEnable() {
new EventHandler(this);
}
@Override
public void onDisable() {
}
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
if (cmd.getName().equalsIgnoreCase("BLANK") && sender instanceof Player) {
Player player = (Player) sender;
return true;
}
return false;
}
}
反正我找不到它。請幫忙。
嘗試刪除空白 – Moudiz
錯誤說的是什麼? –