1 year ago

#365695

test-img

Hamza Khattabi

Cannot import dependency from external repository (Azure Artifact)

I am coming to you because it's been almost 5 hours that I am struggling on importing my packaged spring boot application deployed to Azure Artifacts (Maven repository).

I am using intellij IDEA with JDK 11, intellij is able to autocomplete the class that I want to import, but I am getting "symbol not found" anyway.

Here is my setup : enter image description here

enter image description here

enter image description here

enter image description here

I already did almost everything that I found on the internet. I invalidated the caches more than 10x times, reinstalled maven and java, deleting the cache, removing all the .m2 directory but nothing changes ..

I also already put the necessary configuration on settings.xml to point to the repository with my Personnal Access Token.

Did I miss something ? I really need to use my package on Azure to build my application.

Thank you in advance

maven

azure-devops

azure-artifacts

maven-dependency

maven-repository

0 Answers

Your Answer

Accepted video resources