koca2000 / NoteBlockAPI

https://www.spigotmc.org/resources/noteblockapi.19287/
GNU Lesser General Public License v3.0
119 stars 40 forks source link

Getting an error #91

Closed firewry closed 1 year ago

firewry commented 2 years ago

the errors are: package com.xxmicloxx.NoteBlockAPI.model does not exist package com.xxmicloxx.NoteBlockAPI.songplayer does not exist package com.xxmicloxx.NoteBlockAPI.utils does not exist cannot find symbol

and the file does exist with the model file and all of that

koca2000 commented 2 years ago

Hi! I would need some more information to be able to help you. Is this error in your IDE? How did you added the NoteBlockAPI to your project. Are you using Maven or Gradle?

CerialPvP commented 1 year ago

i am also getting this error, i am using maven but i added the dependency through intellij project structure since maven did not work for me, when i write the code in the ide it does not show any errors but once i compile the plugin it tells me the same things as the other guy

image

image

image

koca2000 commented 1 year ago

@CerialPvP In order to build your plugin with maven you have to add NoteBlockAPI as a maven dependency. Please make sure you added the Jitpack repository and you can ignore IntelliJ's error with -SNAPSHOT version. It is a symlink to the latest commit and therefore it is not in the manifest and IDE think it doesn't exists. The build should work. Alternatively use version 1.6.1.

CerialPvP commented 1 year ago

Aight, I'll try that soon, I'll let you know how it goes