therealdungan
New Member
Whenever I load a plugin by source that uses economy api I get this error.
-----------------------------------------------------------------------------------------------
21:22:46 [INFO ] [FDevTools] Loading source plugin "Trading_Interface"
21:22:46 [INFO ] Epoll is unavailable. Reverting to NioEventLoop.
> C:\Users\xXSir\Downloads\nkt - Copy\plugins\TradingInterface-1.0.2\src\main\java\ua\leonidius\trdinterface\buy\Buy.java:7: error: package me.onebone.economyapi does not exist
import me.onebone.economyapi.EconomyAPI;
^
C:\Users\xXSir\Downloads\nkt - Copy\plugins\TradingInterface-1.0.2\src\main\java\ua\leonidius\trdinterface\Settings.java:5: error: package me.onebone.economyapi does not exist
import me.onebone.economyapi.EconomyAPI;
^
C:\Users\xXSir\Downloads\nkt - Copy\plugins\TradingInterface-1.0.2\src\main\java\ua\leonidius\trdinterface\sell\Sell.java:6: error: package me.onebone.economyapi does not exist
import me.onebone.economyapi.EconomyAPI;
^
3 errors
21:22:47 [ERROR] [FDevTools] java.lang.ClassNotFoundException: ua.leonidius.trdinterface.Trading
21:22:47 [FATAL] Could not load plugin
java.lang.Exception: Couldn't load plugin Trading_Interface: main class not found
at moe.berd.FDevTools.SourcePluginLoader.loadPlugin(SourcePluginLoader.java:60) ~[?:?]
at cn.nukkit.plugin.PluginManager.loadPlugin(PluginManager.java:95) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:272) [nukkit-1.0-SNAPSHOT.jar:?]
at moe.berd.FDevTools.Main.onEnable(Main.java:70) [FDevTools-1.0.2.jar:?]
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:89) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:117) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:439) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:733) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:722) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.Server.<init>(Server.java:483) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:112) [nukkit-1.0-SNAPSHOT.jar:?]
---------------------------------------------------------------------------------------
How do I fix this? It happens with every plugin that uses economy and I load it by source with devtools. If I use the same plugin it works fine, im stumped.
-----------------------------------------------------------------------------------------------
21:22:46 [INFO ] [FDevTools] Loading source plugin "Trading_Interface"
21:22:46 [INFO ] Epoll is unavailable. Reverting to NioEventLoop.
> C:\Users\xXSir\Downloads\nkt - Copy\plugins\TradingInterface-1.0.2\src\main\java\ua\leonidius\trdinterface\buy\Buy.java:7: error: package me.onebone.economyapi does not exist
import me.onebone.economyapi.EconomyAPI;
^
C:\Users\xXSir\Downloads\nkt - Copy\plugins\TradingInterface-1.0.2\src\main\java\ua\leonidius\trdinterface\Settings.java:5: error: package me.onebone.economyapi does not exist
import me.onebone.economyapi.EconomyAPI;
^
C:\Users\xXSir\Downloads\nkt - Copy\plugins\TradingInterface-1.0.2\src\main\java\ua\leonidius\trdinterface\sell\Sell.java:6: error: package me.onebone.economyapi does not exist
import me.onebone.economyapi.EconomyAPI;
^
3 errors
21:22:47 [ERROR] [FDevTools] java.lang.ClassNotFoundException: ua.leonidius.trdinterface.Trading
21:22:47 [FATAL] Could not load plugin
java.lang.Exception: Couldn't load plugin Trading_Interface: main class not found
at moe.berd.FDevTools.SourcePluginLoader.loadPlugin(SourcePluginLoader.java:60) ~[?:?]
at cn.nukkit.plugin.PluginManager.loadPlugin(PluginManager.java:95) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.plugin.PluginManager.loadPlugins(PluginManager.java:272) [nukkit-1.0-SNAPSHOT.jar:?]
at moe.berd.FDevTools.Main.onEnable(Main.java:70) [FDevTools-1.0.2.jar:?]
at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:89) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:117) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:439) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.Server.enablePlugin(Server.java:733) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.Server.enablePlugins(Server.java:722) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.Server.<init>(Server.java:483) [nukkit-1.0-SNAPSHOT.jar:?]
at cn.nukkit.Nukkit.main(Nukkit.java:112) [nukkit-1.0-SNAPSHOT.jar:?]
---------------------------------------------------------------------------------------
How do I fix this? It happens with every plugin that uses economy and I load it by source with devtools. If I use the same plugin it works fine, im stumped.