#Probably a version error

13 messages · Page 1 of 1 (latest)

steady fractal
#

So its basically about 2 minecraft plugins.

They are supposed to run, and are both really simple.
The first one, CutClean, works fine
The second one however, does not. They basically are the exact same plugin, (litterally), just some names are different for now.

The second one give me this error on load:

[17:44:18 INFO]: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system unstability.
[17:44:18 INFO]: Set PluginClassLoader as parallel capable
[17:44:18 ERROR]: Could not load 'plugins\HasteyBoys.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: fr/natsu/napi/uhc/main/Scenario

I think it come from a different java version between the 2, but i cant find why or what to change 😦

Can someone explain to me if there is any difference between the compilation of theses two jars ?

idle wharfBOT
#

This post has been reserved for your question.

Hey @steady fractal! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

steady fractal
#

The only think i see is that HasteyBoys use "--release option" where CutClean does not...

midnight axle
steady fractal
#

Im not sure i understand what the problem is to be honest

#

I never really touched those things...

#

As i understand, and from what different tries got me to conclude:
as long as the path is not "fr.natsu.cutclean" for the main class, it gets an error and cant find class fr.natsu.napi.uhc.main.ScenarioModuleHandler

#

But then i dont really know what to do, because every tutorial are talking about commands lines, and im not using any either to run or compile

#

And both project have the same .classpath, but only one works...

#

Ok, i "fixed it" but like...

#

I just copied the whole thing directly into the project

#

But it is supposed to already be here since its in the dependencies...