Commit b3e9e2f
fix(test): add nifi-security-utils-api to resolve TlsConfiguration ClassNotFoundException
SSLContextService in NiFi 2.x references TlsConfiguration (org.apache.nifi.security.util)
at class-load time. When Mockito/byte-buddy instruments the interface, it must resolve all
referenced types — including the return type of getTlsConfiguration() — or fail with
ClassNotFoundException. nifi-security-utils-api is the correct Maven Central artifact
that contains TlsConfiguration for NiFi 2.x; nifi-security-utils is not published.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9bcb952 commit b3e9e2f
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
99 | 106 | | |
100 | 107 | | |
101 | 108 | | |
| |||
0 commit comments