NoteBlockAPI icon indicating copy to clipboard operation
NoteBlockAPI copied to clipboard

Getting an error

Open firewry opened this issue 2 years ago • 1 comments

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

firewry avatar Jun 15 '22 17:06 firewry

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?

koca2000 avatar Jun 17 '22 19:06 koca2000

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

CerialPvP avatar Dec 04 '22 20:12 CerialPvP

@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.

koca2000 avatar Dec 16 '22 11:12 koca2000

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

CerialPvP avatar Dec 16 '22 16:12 CerialPvP