[ 
https://issues.apache.org/jira/browse/NIFI-9485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17465920#comment-17465920
 ] 

sunyd1224 commented on NIFI-9485:
---------------------------------

Sorry, the problem still exixts. I just built nifi successfully and then I 
close this issue. Obviously, I frogot to run run-nifi.bat to verify this issue. 
That's all my fault.

For some reason I need to put bcprov-jdk15on-1.60.jar(what nifi need is version 
1.70) to  $JAVA_HOME$\jre\lib\ext. Once I do that, this problem will appear 
again. When I delete that jar and clean the installed nifi nars and jars in my 
local maven repository and re-run mvn clean install, everything will be ok. 
Another way to prevent this problem is address the Bouncy Castle version in 
every pom where it is quoted.

> 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)

Reply via email to