是运行在ubuntu16.4.04 上的eclipse,具体报错信息如下:
Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
at com.arxanfintech.sdk.wallet.Wallet.(Wallet.java:48)
at clclcl.upload.App.main(App.java:23)
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 2 more
看到有的答案说是下载bcprov-jdk14-127.jar,但我在Maven Dependencies里已经有了bcprov-jdk15on-155.jar。并且对于后面的那个ClassNotFoundException,我在Maven Dependencies里也可以找到Wallet类。第一次用Maven,希望各位大佬赐教 |
|