Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Something weird with Maven" Watch "Something weird with Maven" New topic
Author

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.
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.


[Thumbnail for screen2.jpg]

[Thumbnail for screen3.jpg]

[Thumbnail for screen1.jpg]

Scott Shipp
Ranch Hand

Joined: Mar 31, 2013
Posts: 111
    
    6

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: http://aspose.com/file-tools
 
subject: Something weird with Maven
 
Similar Threads
Unable to resolve dependency to a jar file created by MVN in 1st module.
cyclic dependency error in maven
Libraries not visible under projects java build path in eclipse
Maven2 to Maven 3 Upgrade... Please Help
Configure Hudson to build from Eclipse local worspace