(KT - Question) issue with maven importing system

Status
This thread has been locked.

Trackgg

Feedback score
9
Posts
152
Reactions
65
Resources
0
Hello.

So recently I have ran into the issue where I am adding a dependent on my project utilizing the famous maven pom.xml but when I am trying to import the dependent, it's not working at all.

I've never seen this issue previously, did all my research (tried resetting caches, refreshing dependencies, adding it manually through project structures and modules) still no help.

Quick example:

<dependency>
<groupId>org.nexar</groupId>
<artifactId>Core-Bukkit</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
-------------------------
No errors, nothing. But when creating a class and importing it (
import org.nexar.blah.blahblahblah) it shows on red.

I am using Kotlin 1.3.71 on IntelliJ (I'm a beginner on kotlin)

If anyone could help please reply down. If you need more information also leave it down below, I'll try my best to reply. I've had this issue for like 1 month straight.

Thank you

EDIT: I am having this issue only in 1 project, in others it works just fine.

EDIT 2: If you're feeling like helping my privately, my telegram is @CoOwner.
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Trackgg

Feedback score
9
Posts
152
Reactions
65
Resources
0
Hello.

So recently I have ran into the issue where I am adding a dependent on my project utilizing the famous maven pom.xml but when I am trying to import the dependent, it's not working at all.

I've never seen this issue previously, did all my research (tried resetting caches, refreshing dependencies, adding it manually through project structures and modules) still no help.

Quick example:

<dependency>
<groupId>org.nexar</groupId>
<artifactId>Core-Bukkit</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
-------------------------
No errors, nothing. But when creating a class and importing it (
import org.nexar.blah.blahblahblah) it shows on red.

I am using Kotlin 1.3.71 on IntelliJ (I'm a beginner on kotlin)

If anyone could help please reply down. If you need more information also leave it down below, I'll try my best to reply. I've had this issue for like 1 month straight.

Thank you

EDIT: I am having this issue only in 1 project, in others it works just fine.

EDIT 2: If you're feeling like helping my privately, my discord is David | Dreamzy#2580.
Still looking for someone to help me out.
 

Trackgg

Feedback score
9
Posts
152
Reactions
65
Resources
0
If the dependency is written in Kotlin (assuming that it is) and was compiled with the runtime included (a.k.a. a "fat jar"), it wont work due to an issue with the IntelliJ IDE. There are some hacky work-arounds that are published on the YouTrack issue (https://youtrack.jetbrains.com/issue/KT-25709).
Do you have any socialmedia? Ex. Telegram, discord something where we can discuss this?[DOUBLEPOST=1589185512][/DOUBLEPOST]
Hello.

So recently I have ran into the issue where I am adding a dependent on my project utilizing the famous maven pom.xml but when I am trying to import the dependent, it's not working at all.

I've never seen this issue previously, did all my research (tried resetting caches, refreshing dependencies, adding it manually through project structures and modules) still no help.

Quick example:

<dependency>
<groupId>org.nexar</groupId>
<artifactId>Core-Bukkit</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
-------------------------
No errors, nothing. But when creating a class and importing it (
import org.nexar.blah.blahblahblah) it shows on red.

I am using Kotlin 1.3.71 on IntelliJ (I'm a beginner on kotlin)

If anyone could help please reply down. If you need more information also leave it down below, I'll try my best to reply. I've had this issue for like 1 month straight.

Thank you

EDIT: I am having this issue only in 1 project, in others it works just fine.

EDIT 2: If you're feeling like helping my privately, my telegram is @CoOwner.
Offering $ to whoever helps me fix this. At this point it's annoying cause I haven't made any progress on my kotlin projects.
 

Cole

Developer
Supreme
Feedback score
19
Posts
943
Reactions
477
Resources
0
Pretty sure it’s been a Kotlin bug for years, sometimes dependencies just won’t work. My friend had a similar issue months back and he couldn’t fix
 

Trackgg

Feedback score
9
Posts
152
Reactions
65
Resources
0
Pretty sure it’s been a Kotlin bug for years, sometimes dependencies just won’t work. My friend had a similar issue months back and he couldn’t fix
I've had this issue for 2.5 months straight. Some projects work but some don't I asked a lot of my friends and they said that even if it didn't detect they could still compile and stuff. But in this case, it's not letting me compile at all, errors keeps showing up and it's annoying. There should be a way to fix this tbh.
 

Scifi

Supreme
Feedback score
4
Posts
577
Reactions
208
Resources
4
Heard of this issue a little while back fairly sure theirs no current fix thought you may be able to find one.
 

Scifi

Supreme
Feedback score
4
Posts
577
Reactions
208
Resources
4

Trackgg

Feedback score
9
Posts
152
Reactions
65
Resources
0
I prefer java over kotlin as its just what im formilliar with.
Nah I'm just learning and fucking around with projects. But there is a lot of stuff that I actually liked about that project and wish to use it instead of re-doing it on Java.
 
Status
This thread has been locked.
Top