Sunday 19 May 2019

Maven could not resolve dependencies

I've come across below issue while working on Maven project, wanted to share how it was resolved.
Error:
Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.5.RELEASE

Solution:
It is related proxy information in setting.xml (C:\Users\Jag\.m2\setting.xml) file under <proxies></proxies> tag. Somehow there was a proxy server details added under above tag, that caused connection issue.

In short - Make sure setting.xml appear like below when you don't use any proxy server.

<proxies>
</proxies>

Thank you for referring my blog, please post your comments for any queries/suggestions..Have a nice time :-) 

Not able to run 'xclock' command using MobaXterm

Issue: Not able to run 'xclock' command using MobaXterm. Error: $ xclock MobaXterm X11 proxy: Authorisation not recognised Err...