Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the dependency to the bouncycastle project from "-jdk15on" jars to "-jdk18on:1.76" jars #906

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kazurayam
Copy link

@kazurayam kazurayam commented Nov 7, 2023

See kazurayam#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.

@kazurayam kazurayam changed the title update the dependency to the bouncycastle projects from "-jdk15on" jars to "-jdk18on:1.76" jars update the dependency to the bouncycastle project from "-jdk15on" jars to "-jdk18on:1.76" jars Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant