[
https://issues.redhat.com/browse/WFLY-14287?page=com.atlassian.jira.plugi...
]
Brian Stansberry commented on WFLY-14287:
-----------------------------------------
Thank you for that input [~rady66]. The fact that people may be using private modules as a
way of relying on the WildFly community's CVE tracking as a supplement to their own
CVE tracking is something I hadn't thought of. We've had discussion in the past
of banning use of private modules by deployments altogether, or at least by default. This
particular reason for using them is a good one to keep in mind if that discussion starts
again.
It doesn't make me willing to ship a library we don't use though.
NoClassDefFoundError: Failed to link
org/bouncycastle/openpgp/PGPEncryptedDataList: org/bouncycastle/util/Iterable
------------------------------------------------------------------------------------------------------------------
Key: WFLY-14287
URL:
https://issues.redhat.com/browse/WFLY-14287
Project: WildFly
Issue Type: Bug
Affects Versions: 21.0.1.Final
Reporter: Radoslav Ivanov
Assignee: Sudeshna Sur
Priority: Major
Could you please add missing dependencies in Bouncycastle modules?
Problem (we got):
{code:java}
Caused by: java.lang.NoClassDefFoundError: Failed to link
org/bouncycastle/openpgp/PGPEncryptedDataList (Module "org.bouncycastle.bcpg"
version 1.66.00.0 from local module loader @1d1f7216 (finder: local module finder
@423e4cbb (roots:
/data/avoka/transact/manager/server/modules,/data/avoka/transact/manager/server/modules/system/layers/base))):
org/bouncycastle/util/Iterable
{code}
Solution (adding dependency from bcpg to bcprov modules solves the issue):
{code:java}
modules\system\layers\base\org\bouncycastle\bcpg\main\module.xml{code}
{code:java}
<dependencies>
<module name="org.bouncycastle.bcprov" export="true"
services="export"/>
</dependencies>
{code}
--
This message was sent by Atlassian Jira
(v8.13.1#813001)