browsermob-proxy
browsermob-proxy copied to clipboard
update the dependency to the bouncycastle project from "-jdk15on" jars to "-jdk18on:1.76" jars
See https://github.com/kazurayam/browsermob-proxy/issues/5 for the detail of what I have done.
The O'Reilly book "Hands-on Selenium WebDriver with Java", Chapter 9 shows a sample code 9-4 that uses BrowserMob Proxy together with WebDriverManager. Unfortunately the sample code sometimes fails, because both products depend on the bouncycastle.org products, but different series of jar.
For example, BrowserMob Proxy depends onorg.bouncycastle:bcprov-jdk15on; but WebDriverManater depends on org.bouncycastle:bcprov-jdk18on. This difference causes the Example 9-4 to fail with message
java.lang.NoSuchFieldError: id_RSASSA_PSS_SHAKE128
In order to resolve this problem, I updated the pom.xml files of browsermob-proxy project so that it depends on the newer jars named -jdk18on.