Iam new to maven, therefore was having some configuration problems.
I have configured the pom.xml file and a settings.xml file in .m2/settings.xml. My requirement is that Once the local repository is made, I want to build the project from the local repository, if the dependency is not present in the local repo, it should then download from the http://repo1.maven.com...or the remote repository is.
Please help me with this.Would be looking for some response
You probably need to double check the versions of the JARs that you have referenced in your poms vs the the versions you're really wanting to run against. That error usually occurs when you're building against the wrong version of a lib.
Joined: Aug 28, 2009
Hi Martijn ,
Thanks for your reply.I will check the versions.
Also I am have to deploy the same on tomcat for which I did the following
Iam using the command mvn tomcat:deploy
Thanks in advance