Open JustNaka opened 2 years ago
Firstly read java docs.
java.lang.NoClassDefFoundError that exception says: Can't find classes loaded in/on plugin/server so you just need to extract SmartInvs into your plugin
in order not to import the SmartInvs plugin externally I imported the jar in the pom.xml in this way. what else should i do?
<dependency>
<groupId>fr.minuskube.inv</groupId>
<artifactId>smart-invs</artifactId>
<version>1.2.7</version>
<scope>system</scope>
<systemPath>${project.basedir}/jars/SmartInvs-1.2.7.jar</systemPath>
</dependency>
have you already tried it with the plugin in the plugins folder of the server?
If you use Intellij, go to Project Structure -> Artifacts -> Available Elements -> Right Click -> Extract Into Output Root
That will solve your problem :)
i do this in main class in onenable
this in gui class
but give me this error