The below error is displayed when bundles are deployed in AEM 6.4.Request you to please advsie the exact versions of the Dependencies that should be inlcuded in POM file.
com.day.cq.commons,version=[5.6,6) -- Cannot be resolved
com.day.cq.commons.jcr,version=[5.6,6) -- Cannot be resolved
com.day.cq.mailer,version=[5.6,6) -- Cannot be resolved
com.day.cq.replication,version=[5.12,6) -- Cannot be resolved
Current versions are :
The below was also included in the pom file.
this is also part of uber.jar
so you can remove this as well POM.
As Scott suggested build a fresh project using archetype 13 and compare your POM with that and remove unnecessary dependencies from your POM. If you are using eclipse you can see all the packages/Classes added inside uber jar.
That means should I create the project structure from the beginning.
Its the best way for AEM 6.4 development. Trying to make a project built for an older AEM version work in the current version is error prone.
Much better to build an AEM project with its corresponding Maven Archetype project. For 6.4 - its Archetype 13.