Follow below steps to convert simple Java project into maven project in eclipse:<br>
● Create simple Java project in eclipse.<br>
● Right click on the project and go to Configure.<br>
● Select option Convert to Maven project. This will create pom.xml.
To fix this issue go to pom.xml and remove relativePath tag from parent tag as maven attempts to read the parent pom from a relative path on your hard drive where no relative path is specified:<br>
To resolve this unknown error issue in pom.xml follow below steps:<br>
● In pom.xml under parent tag change the version from 2.1.5 to 2.1.4.
<relativePath/> <!-- lookup parent from repository -->
<p>● Then right click on the project and go to 'Maven' and then do 'Update project'</p>
403 error means Forbidden - you don't have permission to access / on this server. But in this case this issue is occurring due to Java version issue. Update your java version and move to open JDK to resolve this issue.