As Veena has mentioned, creating a fresh project structure using archetype for AEM 6.2, will surely resolve your issue.Otherwise, cleaning your pom file manually, is a very cumbersome task. If you still want to manually fix jar dependencies issue in your pom file, you can start with removing entries...