Skip to content

Commit cb219db

Browse files
nishithakbhaskarantdcmeehan
authored andcommitted
Fix NoClassDefFoundError while inserting into a table in a kerberos environment.
java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
1 parent 5aaad23 commit cb219db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,6 @@
259259
<groupId>ch.qos.reload4j</groupId>
260260
<artifactId>reload4j</artifactId>
261261
</exclusion>
262-
<exclusion>
263-
<groupId>org.bouncycastle</groupId>
264-
<artifactId>bcprov-jdk18on</artifactId>
265-
</exclusion>
266262
<exclusion>
267263
<groupId>io.dropwizard.metrics</groupId>
268264
<artifactId>metrics-core</artifactId>
@@ -489,7 +485,7 @@
489485
<plugin>
490486
<groupId>org.apache.maven.plugins</groupId>
491487
<artifactId>maven-shade-plugin</artifactId>
492-
<version>3.2.1</version>
488+
<version>3.5.0</version>
493489
<executions>
494490
<execution>
495491
<phase>package</phase>
@@ -601,6 +597,10 @@
601597
<pattern>com.google.thirdparty.publicsuffix</pattern>
602598
<shadedPattern>${shadeBase}.com.google.thirdparty.publicsuffix</shadedPattern>
603599
</relocation>
600+
<relocation>
601+
<pattern>org.bouncycastle</pattern>
602+
<shadedPattern>${shadeBase}.org.bouncycastle</shadedPattern>
603+
</relocation>
604604
</relocations>
605605
<filters>
606606
<filter>

0 commit comments

Comments
 (0)