Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

java.lang.VerifyError: AEM Mock

Avatar

Level 5

Hi,

I am having below line in my test case.

Page page = context.pageManager().create("/content/sample/en", "test1",

"/apps/sample/templates/homepage", "title1");

But I am getting below error when execute:

java.lang.VerifyError: (class: com/day/cq/wcm/api/WCMException, method: <init> signature: (Ljava/lang/Throwable;)V) Constructor must call super() or this()

Below is the document I am refering :

Usage | AEM Mocks

How can i solve that issue.

Thanks,

1 Reply