Main-Class not found error

CanaryMod related discussions

Main-Class not found error

Postby Sirius_2000 » Wed Nov 30, 2016 12:35 pm

Sorry, i have to Interrupt you a second time,
but there is an issue i can't solve.
The Server console log just wrote:

    [13:28:56] [CanaryMod] [INFO]: Starting: CanaryMod 1.7.10-1.1.2
    [13:28:56] [CanaryMod] [INFO]: Canary Path: /C:/Users/MYSELF/server/CanaryMod.jar & Working From: C:\Users\MYSELF\server
    [13:28:57] [CanaryMod] [INFO]: Registered xml Database
    [13:28:57] [CanaryMod] [INFO]: Found 3 plugins; total: 3
    [13:28:59] [net.minecraft.server.dedicated.DedicatedServer] [INFO]: Starting minecraft server version 1.7.10
    [13:28:59] [net.minecraft.server.dedicated.DedicatedServer] [INFO]: Loading properties
    [13:28:59] [net.minecraft.server.dedicated.DedicatedServer] [INFO]: Generating keypair
    [13:28:59] [net.minecraft.server.dedicated.DedicatedServer] [INFO]: Starting Minecraft server on *:25565
    [13:28:59] [CanaryMod] [INFO]: Enabling Plugins...
    [13:28:59] [FireBow] [INFO]: Starting up
    [13:28:59] [CanaryMod] [ERROR]: Exception while enabling plugin: CanaryWorldEdit2.jar
    net.canarymod.exceptions.PluginLoadFailedException: Failed to load plugin
    at net.canarymod.plugin.lifecycle.JavaPluginLifecycle._load(JavaPluginLifecycle.java:36) ~[CanaryMod.jar:1.7.10-1.1.2]
    at net.canarymod.plugin.lifecycle.PluginLifecycleBase.load(PluginLifecycleBase.java:71) ~[CanaryMod.jar:1.7.10-1.1.2]
    at net.canarymod.plugin.lifecycle.JavaPluginLifecycle.load(JavaPluginLifecycle.java:16) ~[CanaryMod.jar:1.7.10-1.1.2]
    at net.canarymod.plugin.PluginManager.enablePlugin(PluginManager.java:68) ~[CanaryMod.jar:1.7.10-1.1.2]
    at net.canarymod.plugin.PluginManager.enableAllPlugins(PluginManager.java:101) [CanaryMod.jar:1.7.10-1.1.2]
    at net.canarymod.Canary.enablePlugins(Canary.java:284) [CanaryMod.jar:1.7.10-1.1.2]
    at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:278) [CanaryMod.jar:1.7.10-1.1.2]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:391) [CanaryMod.jar:1.7.10-1.1.2]
    at net.minecraft.server.MinecraftServer$3.run(MinecraftServer.java:742) [CanaryMod.jar:1.7.10-1.1.2]
    Caused by: java.lang.ClassNotFoundException: The class could not be found!
    at net.canarymod.CanaryClassLoader.findClass(CanaryClassLoader.java:55) ~[CanaryMod.jar:1.7.10-1.1.2]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
    at net.canarymod.plugin.lifecycle.JavaPluginLifecycle._load(JavaPluginLifecycle.java:27) ~[CanaryMod.jar:1.7.10-1.1.2]
    ... 8 more
    Caused by: java.lang.ClassNotFoundException:
    at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_25]
    at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_25]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
    at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_25]
    at net.canarymod.CanaryClassLoader.findClass(CanaryClassLoader.java:37) ~[CanaryMod.jar:1.7.10-1.1.2]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
    at net.canarymod.plugin.lifecycle.JavaPluginLifecycle._load(JavaPluginLifecycle.java:27) ~[CanaryMod.jar:1.7.10-1.1.2]
    ... 8 more
    [13:28:59] [Waypoints] [INFO]: Starting up
    [13:28:59] [net.minecraft.server.MinecraftServer] [INFO]: Preparing start region for level default
    [13:29:00] [net.minecraft.server.MinecraftServer] [INFO]: Preparing spawn area: 2%
    [13:29:01] [net.minecraft.server.dedicated.DedicatedServer] [INFO]: Done (2,241s)! For help, type "help" or "?"
    [13:29:31] [CanaryMod] [INFO] [NOTICE]: Console issued a manual shutdown
    [13:29:31] [net.minecraft.server.MinecraftServer] [INFO]: Stopping server
    [13:29:31] [net.minecraft.server.MinecraftServer] [INFO]: Saving players
    [13:29:31] [net.minecraft.server.MinecraftServer] [INFO]: Saving worlds
    [13:29:31] [net.minecraft.server.MinecraftServer] [INFO]: Saving chunks for level 'default'/Overworld
    [13:29:31] [CanaryMod] [INFO]: Disabling Plugins ...
    [13:29:31] [CanaryMod] [INFO]: Disabling plugin FireBow
    [13:29:31] [CanaryMod] [INFO]: Disabling plugin Waypoints

But in my Canary.inf i got the right path:
Code: Select all
main-class = canaryworldedit.CanaryWorldEdit
name = CanaryWorldEdit
author = Sirius_2000
version = 1.4.3


Can somebody help me please
with this 'main-class' not found error

Thanks
Sirius_2000
 
Posts: 4
Joined: Sun Nov 20, 2016 9:51 am

Re: Main-Class not found error

Postby Sirius_2000 » Wed Dec 07, 2016 4:20 pm

Problem solved !

Thanks for your attention :)
Sirius_2000
 
Posts: 4
Joined: Sun Nov 20, 2016 9:51 am


Return to Discussions

Who is online

Users browsing this forum: No registered users and 2 guests