The issue is resolved by running "mvn clean install -Dmaven.test.skip" Java8 for Apache Maven was already configured successfully. It is pre-requisite. Good reference to configure the same is : https://phoenixnap.com/kb/install-maven-windows Problem statement: While running mvn clean install for url-monitoring extension, receiving an error below: [ERROR] com.appdynamics.extensions.urlmonitor.UrlMonitorTest.urlMonitorExceptionOccurredTest Time elapsed: 0.002 s <<< ERROR! java.lang.NoClassDefFoundError: Could not initialize class org.mockito.internal.creation.jmock.ClassImposterizer$3 Next steps: It seems the test is failing. Could you please execute mvn clean install -Dmaven.test.skip and confirm if you can build the extension? Please also confirm if you configured Java8 for Apache Maven.
... View more