Obtaining below
java.lang.NoClassDefFoundError: net/lightbody/bmp/mitm/CertificateAndKeySource
When I tried to create a new instance of bmp proxy
BrowserMobProxyServer proxy = null;
// start the proxy
proxy = new BrowserMobProxyServer();
proxy.start(0);
// get the Selenium proxy object
Proxy seleniumProxy = ClientUtil.createSeleniumProxy(proxy);
....
...
..
Obtianing the error when I create a new BrowserMobProxyServer.
I have the below maven
<dependency>
<groupId>net.lightbody.bmp</groupId>
<artifactId>browsermob-core</artifactId>
<version>2.1.5</version>
</dependency>
<dependency>
<groupId>org.littleshoot</groupId>
<artifactId>littleproxy</artifactId>
<version>1.1.0</version>
<scope>test</scope>
</dependency>
Please help