#Intellij IDEA Package does not exist

1 messages · Page 1 of 1 (latest)

astral briar
#

I am having some trouble, I am trying to make an addon for a Mod and I have imported the mod it depends via a jar file (throught modules and libraries, in both just in case) but an error pops up and it says that the package I am importing doesnt exist, but you can clearly see it is there in the external libraries. Does anyone know why could this happen?

azure jewelBOT
#

<@&987246652869971988> please have a look, thanks.

#

You can use </chatgpt:1108714622413963314> to ask ChatGPT about your question while you wait for a human to respond.

unkempt coral
bleak tide
#

you're building via gradle, but adding the dependency in idea only

#

add the dependency to gradle first, idea can sync those over anyway

#

in the dependencies { ... } section in build.gradle, add to the bottom: implementation files("./pathToThe.jar")

#

nevermind i didnt read

#

is the jar actually in the project folder? doesn't seem like it

astral briar
#

Do I just add it to the project folder inside de src or above it?