fix: NoClassDefFoundError when invoking JSON.toJSON() method in official processor

This commit is contained in:
Echo009 2021-03-12 15:43:16 +08:00
parent 1d67e97b45
commit 86b584be2f

View File

@ -107,6 +107,7 @@
<version>${mvn.shade.plugin.version}</version> <version>${mvn.shade.plugin.version}</version>
<configuration> <configuration>
<createDependencyReducedPom>false</createDependencyReducedPom> <createDependencyReducedPom>false</createDependencyReducedPom>
<minimizeJar>true</minimizeJar>
<relocations> <relocations>
<relocation> <relocation>
<pattern>okhttp3</pattern> <pattern>okhttp3</pattern>
@ -122,6 +123,7 @@
<excludes> <excludes>
<exclude>org.slf4j.*</exclude> <exclude>org.slf4j.*</exclude>
<exclude>org.springframework.**</exclude> <exclude>org.springframework.**</exclude>
<exclude>org.w3c.**</exclude>
</excludes> </excludes>
</relocation> </relocation>
<relocation> <relocation>