The moose likes Ant, Maven and Other Build Tools and the fly likes Something weird with Maven Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Something weird with Maven" Watch "Something weird with Maven" New topic

Something weird with Maven

Robert Raps
Ranch Hand

Joined: Mar 13, 2013
Posts: 30
Help, i don't know what it's going on)
I pulled and installed spring modules to local maven repository. There were no problems.

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.

[Thumbnail for screen2.jpg]

[Thumbnail for screen3.jpg]

[Thumbnail for screen1.jpg]

Scott Shipp
Ranch Hand

Joined: Mar 31, 2013
Posts: 173

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?
I agree. Here's the link:
subject: Something weird with Maven
It's not a secret anymore!