Commit b3f5759
authored
Include bcutil-jdk18on.jar into the dependencies. (#127)
When use Instance Principal Auth to run functional test(nosql-drvier 5.4.15),
got java.lang.NoClassDefFoundError: org/bouncycastle/asn1/oiw/OIWObjectIdentifiers
error, and the nosql-drvier 5.4.15 uses bouncycastle 1.78.
Bouncycastle has changed the packaging since 1.78, the org/bouncycastle/asn1/*.class are
moved to bcutil-jdk18on.jar, so need include bcutil-jdk18on.jar into the dependencies
of nosql driver.
In driver/pom.xml, all the dependencies of bcprov-jdk18on and bcpkix-jdk18on are
explicitly excluded, and the bcutil-jdk18on is dependency for test scope only.
The bcutil-jdk18on and bcprov-jdk18on are only dependencies of bcpkix-jdk18on, and
no dependency for bcprov-jdk18on.
So to fix it, simply remove the dependency exclusions of bcpkix-jdk18on and bcprov-jdk18on,
and also remove dependency of bcutil-jdk18on for test, then the bcutil-jdk18on will be
included into dependencies.1 parent a9c7f51 commit b3f5759
1 file changed
+0
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | 195 | | |
202 | 196 | | |
203 | 197 | | |
204 | 198 | | |
205 | 199 | | |
206 | 200 | | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | 201 | | |
214 | 202 | | |
215 | 203 | | |
| |||
220 | 208 | | |
221 | 209 | | |
222 | 210 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | 211 | | |
234 | 212 | | |
235 | 213 | | |
| |||
0 commit comments