This runtime exception "java.lang.RuntimeException: After setup failed (com.adobe.cq.wcm.core.components.testing.mock.ContextPlugins$1@5baaae4c): com/adobe/cq/wcm/core/components/internal/link/DefaultPathProcessor"is resolved once I added the following wcm-components-core dependency <dependency>
...
I am also facing this issue, getting runtime error java.lang.RuntimeException: After setup failed (com.adobe.cq.wcm.core.components.testing.mock.ContextPlugins$1@497570fb): com/adobe/cq/wcm/core/components/internal/link/DefaultPathProcessor. I have initialized the AemContext like following private f...