Well, you should try to isolate the different possible causes of your problem. Open a CLI and run something like mvn compile from the root of your project.
What does it say? Cheers. 2009/5/14 ezanih <eza...@hotmail.com> > > Hi there > > I am using Mavan 2.0.9 (although the problem occurs with older Maven > versions). I have a Maven-enabled project which uses Spring, Hibernate and > several Apache Commons libraries as well as Tomcat 5.5. I am using the > Eclipse IDE. I have followed the Maven installation instructions and setup > my M2_HOME and M2 environment variables and tested Mavenis ok with mvn > --version. > > My problem is I have Maven dependency-enabled my project but my Eclipse IDE > is showing red squares with a white cross over most of the files in my > project with the error being : > > "The import <org.apache or org.hibernate or org.springframework> cannot be > resolved" with red curvy lines below the import statements. > > I have reinstalled Maven, Eclipse and the project but to no avail. I have > checked that my Maven .m2 repository has all the jar files in the allocated > folder on my PC. > > However, my project seems to be unable to read the jar files and all my > import statements at the top of my java class are turning red. Pls help. > > Many thks! > -- > View this message in context: > http://www.nabble.com/Maven-continuously-initiates-transfer-of-jars-tp23534377p23534377.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !