• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Something weird with Maven

 
Robert Raps
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Help, i don't know what it's going on)
I pulled and installed spring modules to local maven repository. There were no problems.
http://www.mkyong.com/maven/how-to-include-library-manully-into-maven-local-repository/

View1 (Screen2). Local Repository


View2 (Screen3). Pom file in IDEA

But now continues something strange. Import statements is red. IDEA doesn't see this modules and package org.springframework, notwithstanding it is present either in repository and dependencies.
View3 (Screen1)
Screen with import statements.
screen2.jpg
[Thumbnail for screen2.jpg]
screen3.jpg
[Thumbnail for screen3.jpg]
screen1.jpg
[Thumbnail for screen1.jpg]
 
Scott Shipp
Ranch Hand
Posts: 191
10
Eclipse IDE IntelliJ IDE Java Scala Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use Eclipse, not IntelliJ but I noticed that in the screen1 graphic there is a green box in the upper right that says that Maven projects need imported....maybe that is what needs to happen?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic