[
https://issues.apache.org/jira/browse/NIFI-9485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17465924#comment-17465924
]
David Handermann commented on NIFI-9485:
----------------------------------------
[~sunyd1224] Placing an older version of the Bouncy Castle bcprov JAR in the
jre\lib\ext directory creates runtime conflicts with the more recent version
provided in NiFi. Overriding the version in that way is not a supported
configuration. Can you describe why you need an older version of the Bouncy
Castle library? A better solution would be to have a separate Java
installation detected to NiFi that does not have anything in the jre\lib\ext
directory.
> BouncyCastle conflicted when compiled and running nifi-1.16.0 on windows11
> ---------------------------------------------------------------------------
>
> Key: NIFI-9485
> URL: https://issues.apache.org/jira/browse/NIFI-9485
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Tools and Build
> Affects Versions: 1.16.0
> Environment: os: windows 11
> java version: 1.8.0_171
> maven version: 3.8.4
> Reporter: sunyd1224
> Priority: Minor
> Labels: beginner
> Fix For: 1.16.0
>
> Attachments: error.png
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> I built nifi-1.16.0 from the source code for a long time. When finished
> successfully,I run the run-nifi.bat. Hower,the error occurs:
> !error.png!
> The reason is that there is another lower version of BouncyCastle than needed
> in the java classpath on my computer and the BouncyCastle is not specified
> with the precise version in some of the pom.xml of nifi.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)