Error with kordex connection with spring

I need make rest controllers for micro-services and i need connect controllers to discord bot
> Task :prepareKotlinBuildScriptModel UP-TO-DATE
Could not resolve: org.springframework.boot:spring-boot-starter-data-jpa
Could not resolve: org.springframework.boot:spring-boot-starter-web
Could not resolve: org.springframework.boot:spring-boot-starter-test

BUILD SUCCESSFUL in 6s
> Task :prepareKotlinBuildScriptModel UP-TO-DATE
Could not resolve: org.springframework.boot:spring-boot-starter-data-jpa
Could not resolve: org.springframework.boot:spring-boot-starter-web
Could not resolve: org.springframework.boot:spring-boot-starter-test

BUILD SUCCESSFUL in 6s
No description
No description
No description
6 Replies
noBrain
noBrainOP4w ago
:BestDoggy: If i remove kordex connection all work
No description
No description
gdude
gdude4w ago
Odd I'll have to test that probs
gdude
gdude4w ago
I haven't had a chance to look into this yet, but I'd say there's probably some kind of weird conflict between the KordEx plugin and the Spring dependency management plugin - you could try disabling addDependencies and/or addRepositories in the kordEx builder, see if that helps, though you'll need to add your own dependencies/repos for KordEx, which you can find information on here https://docs.kordex.dev/manual-setup.html
noBrain
noBrainOP4w ago
:peepodetective: Okay, thank you
gdude
gdude4w ago
Did you give those a try? could also put the kordex plugin before the spring one but it probably won't change anything I'm also curious why you're combining the two in the first place

Did you find this page helpful?