这个问题怎么解决?
servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: org/bouncycastle/asn1/gm/GMNamedCurves] with root cause
java.lang.ClassNotFoundException: org.bouncycastle.asn1.gm.GMNamedCurves
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at cn.hutool.crypto.SmUtil.<clinit>(SmUtil.java:54)
添加这个依赖后,自定义的国密会报错。
```java
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.60</version>
</dependency>
```