Migrating from AEM 6.2 in Classic UI to AEM 6.5 in Touch UI is going to be a BIG project. I'm speaking from experience as a project I'm working on from AEM 6.3 in Touch UI to AEM 6.5 in Touch UI is going to take roughly 300 man days.
You would have to share the whole stacktrace with us so we could help you identify the source of the error but if you've already narrowed it down to annotation then you probably have an incompatibility between WCM Use API and Apache Felix annotations vs Sling Models and OSGI annotations.
If I were you I would:
Good luck! If you're planning a full migration from 6.2 to 6.5, don't hesitate to reach out to me on LinkedIn for advice: https://www.linkedin.com/in/theo-pendle-1630a52a (I won't even charge you 😉)
@arvindk091986 To understand your question correctly, Are you planning to uplift project code base from Old archetype to ARchetype23 and deploy to AEM 6.2? or you want to uplift codebase and migrate to AEM 6.5? As per the documentation minimum, AEM version has to be AEM 6.3.3. to use Archetype 23.
I upgraded from 6.4.3 to 6.5.5., I only updated POM.xml and other dependencies.
But as your archetype and AEM version is quite older, I would suggest you to use latest archetype as per my past experience of migration.