java.lang.NoClassDefFoundError: sun/security/tools/KeyTool

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.

tip

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

tip

Check if you didn't forget to instantiate your topic in the kafka broker.

tip

NoClassDefFoundError means java has failed to find a class you're trying to instantiate, look if you've added the class you're trying to instantiate to the dependencies.

tip

You need to add httpcore to your dependencies. Try adding version 4.3 or further.

tip

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

tip

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • *I'm trying to run Heritrix 3.2.0 and when I type the command* : /heritrix-3.2.0$ $HERITRIX_HOME/bin/heritrix -a admin:admin, it gives me the error : 16 01:45:16 EET 2015 Heritrix starting (pid 6523). ERROR: JVM terminated without running Heritrix. This could be due to invalid JAVA_OPTS or JMX_PORT, etc. See heritrix_out.log for more details. Here are its last three lines: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 3 more *and when I checked the heritrix_out.log, here is what is there: * ج سبت 11 22:26:52 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14 Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/KeyTool at org.archive.crawler.Heritrix.useAdhocKeystore(Heritrix.java:438) at org.archive.crawler.Heritrix.instanceMain(Heritrix.java:319) at org.archive.crawler.Heritrix.main(Heritrix.java:189) Caused by: java.lang.ClassNotFoundException: sun.security.tools.KeyTool at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 3 more ج سبت 11 22:30:52 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited ج سبت 11 22:42:49 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14 Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/KeyTool at org.archive.crawler.Heritrix.useAdhocKeystore(Heritrix.java:438) at org.archive.crawler.Heritrix.instanceMain(Heritrix.java:319) at org.archive.crawler.Heritrix.main(Heritrix.java:189) Caused by: java.lang.ClassNotFoundException: sun.security.tools.KeyTool at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 3 more ج سبت 11 22:47:14 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14 usage: Heritrix -a,--web-admin <arg> REQUIRED. Specifies the authorization username and password which must be supplied to access the web interface. This may be of the form "password" (which leaves username as the default 'admin'), "username:password", or "@filename" for a file that includes the single line "username:password". -b,--web-bind-hosts <arg> A comma-separated list of addresses/hostnames for the web interface to bind to. -h,--help <arg> Usage information. -j,--jobs-dir <arg> The jobs directory. Defaults to ./jobs -l,--logging-properties <arg> The full path to the logging properties file (eg, conf/logging.properties). If present, this file will be used to configure Java logging. Defaults to ${heritrix.home}/conf/logging.properties or if no heritrix.home property set, ./conf/logging.properties -p,--web-port <arg> The port the web interface should listen on. -s,--ssl-params <arg> Specify a keystore path, keystore password, and key password for HTTPS use. Separate with commas, no whitespace. Your arguments were: --webui-admin PASSWORD ر سبت 16 01:12:31 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited ر سبت 16 01:14:45 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14 usage: Heritrix -a,--web-admin <arg> REQUIRED. Specifies the authorization username and password which must be supplied to access the web interface. This may be of the form "password" (which leaves username as the default 'admin'), "username:password", or "@filename" for a file that includes the single line "username:password". -b,--web-bind-hosts <arg> A comma-separated list of addresses/hostnames for the web interface to bind to. -h,--help <arg> Usage information. -j,--jobs-dir <arg> The jobs directory. Defaults to ./jobs -l,--logging-properties <arg> The full path to the logging properties file (eg, conf/logging.properties). If present, this file will be used to configure Java logging. Defaults to ${heritrix.home}/conf/logging.properties or if no heritrix.home property set, ./conf/logging.properties -p,--web-port <arg> The port the web interface should listen on. -s,--ssl-params <arg> Specify a keystore path, keystore password, and key password for HTTPS use. Separate with commas, no whitespace. Your arguments were: --admin=LOGIN:PASSWORD ر سبت 16 01:45:14 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14 Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/KeyTool at org.archive.crawler.Heritrix.useAdhocKeystore(Heritrix.java:438) at org.archive.crawler.Heritrix.instanceMain(Heritrix.java:319) at org.archive.crawler.Heritrix.main(Heritrix.java:189) Caused by: java.lang.ClassNotFoundException: sun.security.tools.KeyTool at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) I have been searching on Google for 2 days but in vain. Please please please help ... 3 more
    via by programmer ,
  • *I'm trying to run Heritrix 3.2.0 and when I type the command* : /heritrix-3.2.0$ $HERITRIX_HOME/bin/heritrix -a admin:admin, it gives me the error : 16 01:45:16 EET 2015 Heritrix starting (pid 6523). ERROR: JVM terminated without running Heritrix. This could be due to invalid JAVA_OPTS or JMX_PORT, etc. See heritrix_out.log for more details. Here are its last three lines: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 3 more *and when I checked the heritrix_out.log, here is what is there: * ج سبت 11 22:26:52 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14 Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/KeyTool at org.archive.crawler.Heritrix.useAdhocKeystore(Heritrix.java:438) at org.archive.crawler.Heritrix.instanceMain(Heritrix.java:319) at org.archive.crawler.Heritrix.main(Heritrix.java:189) Caused by: java.lang.ClassNotFoundException: sun.security.tools.KeyTool at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 3 more ج سبت 11 22:30:52 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited ج سبت 11 22:42:49 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14 Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/KeyTool at org.archive.crawler.Heritrix.useAdhocKeystore(Heritrix.java:438) at org.archive.crawler.Heritrix.instanceMain(Heritrix.java:319) at org.archive.crawler.Heritrix.main(Heritrix.java:189) Caused by: java.lang.ClassNotFoundException: sun.security.tools.KeyTool at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 3 more ج سبت 11 22:47:14 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14 usage: Heritrix -a,--web-admin <arg> REQUIRED. Specifies the authorization username and password which must be supplied to access the web interface. This may be of the form "password" (which leaves username as the default 'admin'), "username:password", or "@filename" for a file that includes the single line "username:password". -b,--web-bind-hosts <arg> A comma-separated list of addresses/hostnames for the web interface to bind to. -h,--help <arg> Usage information. -j,--jobs-dir <arg> The jobs directory. Defaults to ./jobs -l,--logging-properties <arg> The full path to the logging properties file (eg, conf/logging.properties). If present, this file will be used to configure Java logging. Defaults to ${heritrix.home}/conf/logging.properties or if no heritrix.home property set, ./conf/logging.properties -p,--web-port <arg> The port the web interface should listen on. -s,--ssl-params <arg> Specify a keystore path, keystore password, and key password for HTTPS use. Separate with commas, no whitespace. Your arguments were: --webui-admin PASSWORD ر سبت 16 01:12:31 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited ر سبت 16 01:14:45 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14 usage: Heritrix -a,--web-admin <arg> REQUIRED. Specifies the authorization username and password which must be supplied to access the web interface. This may be of the form "password" (which leaves username as the default 'admin'), "username:password", or "@filename" for a file that includes the single line "username:password". -b,--web-bind-hosts <arg> A comma-separated list of addresses/hostnames for the web interface to bind to. -h,--help <arg> Usage information. -j,--jobs-dir <arg> The jobs directory. Defaults to ./jobs -l,--logging-properties <arg> The full path to the logging properties file (eg, conf/logging.properties). If present, this file will be used to configure Java logging. Defaults to ${heritrix.home}/conf/logging.properties or if no heritrix.home property set, ./conf/logging.properties -p,--web-port <arg> The port the web interface should listen on. -s,--ssl-params <arg> Specify a keystore path, keystore password, and key password for HTTPS use. Separate with commas, no whitespace. Your arguments were: --admin=LOGIN:PASSWORD ر سبت 16 01:45:14 EET 2015 Starting heritrix Linux emanhamed 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode) JAVA_OPTS=-Xmx1024M core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 29848 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 29848 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_45-b14 Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/KeyTool at org.archive.crawler.Heritrix.useAdhocKeystore(Heritrix.java:438) at org.archive.crawler.Heritrix.instanceMain(Heritrix.java:319) at org.archive.crawler.Heritrix.main(Heritrix.java:189) Caused by: java.lang.ClassNotFoundException: sun.security.tools.KeyTool at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) I have been searching on Google for 2 days but in vain. Please please please help ... 3 more
    via by programmer ,
  • Storm ClassNotFoundException
    via Stack Overflow by Bruno Brunolav
    ,
    • java.lang.NoClassDefFoundError: sun/security/tools/KeyTool at org.archive.crawler.Heritrix.useAdhocKeystore(Heritrix.java:438) at org.archive.crawler.Heritrix.instanceMain(Heritrix.java:319) at org.archive.crawler.Heritrix.main(Heritrix.java:189) Caused by: java.lang.ClassNotFoundException: sun.security.tools.KeyTool at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 3 more

    Users with the same issue

    Unknown visitor1 times, last one,
    junior_cEngineer
    junior_cEngineer1 times, last one,
    Matty
    Matty1 times, last one,
    rsprangemeijer
    rsprangemeijer3 times, last one,
    Unknown visitor1 times, last one,
    2331 more bugmates