Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven issue - missing required library

 
Patricia Samuel
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While installing maven i was getting error of downloading a library. So i explicitly kept it into m2 folder.
But now in eclipse i am getting missing required library error.
I am not sure but i think i have to install this jar file explicitly. Please help me in resolving the error.
 
John Pradeep.v
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Patricia Samuel wrote:While installing maven i was getting error of downloading a library. So i explicitly kept it into m2 folder.
But now in eclipse i am getting missing required library error.
I am not sure but i think i have to install this jar file explicitly. Please help me in resolving the error.


Hi,
Can you please post the pom.xml and mention the JAR which is missing? also run mvn with '-e' option which will give a more verbose error which might help..

John
 
Patricia Samuel
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the quick reply. its opensaml-1.0.1.jar. When i was installing the maven it was showing download error. so i copied jar to .m2 repository. Now in the eclipse under problem tab it says opensaml-1.0.jar is missing in .m2 repository and hence build path error.
 
John Pradeep.v
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post your pom.xml here... i would want to see the repository URL in specific.
 
Patricia Samuel
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it is resolved. Thanks a lot... i just updated the dependencies that should have been the first thing i need to be done.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic