Invalid items in dependency list

Answered

Hi

After having spent a day on trying to get a Spring project to work with Maven I hope that somebody in here can help me out.

I've cloned our project (which works perfectly fine on my colleagues' computers) and Intellij Idea downloads all the Maven dependencies to my .m2/repository folder as expected. But when I open project structure the dependency list is full of red (missing?) dependencies e.g. "Maven: org.springframework.boot:spring-boot-starter-test:1.5.7.RELEASE". The only one that isn't red is Java 1.8. 

In the Project window under External Libraries it is also just Java 1.8 which is shown. It would expect all the downloaded Maven dependencies to be shown here. 

In Intellij Idea preferences under Maven repositories I only have the .m2/repository entry whereas my colleagues also have https://repo.maven.apache.org/maven2.

 

HELP!!!

 

Best regards

Jens

0
6 comments

Hello Jens,

Please share idea.log ("Help | Show Log in...") after restarting IDE and reproducing the issue. You could use any file sharing service.

0
Avatar
Permanently deleted user

Hi Yaroslav

Thanks for your response. Here is the log file:
https://drive.google.com/file/d/10uUhH9NTRkW6jqahWLKGtoKLjCN08IB2/view?usp=drivesdk 

0

See http://stackoverflow.com/a/42427510/104891. Try to delete .idea directory and reimport from pom.xml.

0
Avatar
Permanently deleted user

Fml, I linked a locked document. It should be fixed now 🙂

0

You have a different version of jdom.jar in /Library/Java/Extensions which breaks Maven integration in IntelliJ IDEA. Please remove all the jars from this directory, it may cause random issues with various Java applications and is deprecated anyway.

1
Avatar
Permanently deleted user

You rock my WORLD!!!!! Thank you very very much! :D

0

Please sign in to leave a comment.