java.lang.ClassNotFoundException: com.sec.enterprise.knox.keystore.TimaKeystore
java.lang.ClassNotFoundException: com.sec.enterprise.knox.keystore.TimaKeystore
我在 ScrollView
中使用 WebView
。如果我忽略这个异常会发生什么?
这是日志:
java.lang.ClassNotFoundException: com.sec.enterprise.knox.keystore.TimaKeystore
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at java.lang.Class.classForName(Native Method)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at java.lang.Class.forName(Class.java:251)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at java.lang.Class.forName(Class.java:216)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at java.security.KeyStore.getDefaultType(KeyStore.java:212)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at com.android.org.chromium.net.X509Util.ensureInitialized(X509Util.java:109)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at com.android.org.chromium.net.X509Util.verifyServerCertificates(X509Util.java:242)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at com.android.org.chromium.net.AndroidNetworkLibrary.verifyServerCertificates(AndroidNetworkLibrary.java:210)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at dalvik.system.NativeStart.run(Native Method)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: Caused by: java.lang.NoClassDefFoundError: com/sec/enterprise/knox/keystore/TimaKeystore
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: ... 8 more
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.sec.enterprise.knox.keystore.TimaKeystore" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: ... 8 more
如异常所说。您在类路径中缺少所需的库。
Download 并将其放入您的类路径中。
有关官方的更多信息documentation
我在 ScrollView
中使用 WebView
。如果我忽略这个异常会发生什么?
这是日志:
java.lang.ClassNotFoundException: com.sec.enterprise.knox.keystore.TimaKeystore
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at java.lang.Class.classForName(Native Method)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at java.lang.Class.forName(Class.java:251)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at java.lang.Class.forName(Class.java:216)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at java.security.KeyStore.getDefaultType(KeyStore.java:212)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at com.android.org.chromium.net.X509Util.ensureInitialized(X509Util.java:109)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at com.android.org.chromium.net.X509Util.verifyServerCertificates(X509Util.java:242)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at com.android.org.chromium.net.AndroidNetworkLibrary.verifyServerCertificates(AndroidNetworkLibrary.java:210)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at dalvik.system.NativeStart.run(Native Method)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: Caused by: java.lang.NoClassDefFoundError: com/sec/enterprise/knox/keystore/TimaKeystore
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: ... 8 more
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.sec.enterprise.knox.keystore.TimaKeystore" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
05-25 16:58:47.340 21874-22149/com.shengzhebj.driver W/System.err: ... 8 more
如异常所说。您在类路径中缺少所需的库。
Download 并将其放入您的类路径中。
有关官方的更多信息documentation