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

JIRA | programmer | 1 year ago
  1. 0

    *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

    JIRA | 1 year ago | programmer
    java.lang.NoClassDefFoundError: sun/security/tools/KeyTool
  2. 0

    *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

    JIRA | 1 year ago | programmer
    java.lang.NoClassDefFoundError: sun/security/tools/KeyTool
  3. 0

    I'm Heritrix is not able to start. Error log: Version: 3.2.0 Command line: heritrix.cmd -a admin:admin Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_51-b16 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(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 3 more Version: 3.3.0-SNAPSHOT 03-Aug-2015 Command line: heritrix.cmd -a admin:admin Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_51-b16 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(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 3 more

    JIRA | 1 year ago | Luck Colors
    java.lang.NoClassDefFoundError: sun/security/tools/KeyTool
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I'm Heritrix is not able to start. Error log: Version: 3.2.0 Command line: heritrix.cmd -a admin:admin Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_51-b16 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(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 3 more Version: 3.3.0-SNAPSHOT 03-Aug-2015 Command line: heritrix.cmd -a admin:admin Oracle Corporation Java(TM) SE Runtime Environment 1.8.0_51-b16 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(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 3 more

    JIRA | 1 year ago | Luck Colors
    java.lang.NoClassDefFoundError: sun/security/tools/KeyTool
  6. 0

    Storm ClassNotFoundException

    Stack Overflow | 4 years ago | Bruno Brunolav
    java.lang.ClassNotFoundException: TopologyMain

  1. archenroot 1 times, last 2 weeks ago
  2. tyson925 5 times, last 2 weeks ago
  3. tzrlk 1 times, last 2 weeks ago
  4. musketyr 1 times, last 3 weeks ago
  5. kjhdofjosvs 3 times, last 3 weeks ago
63 more registered users
32 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    sun.security.tools.KeyTool

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4 frames
  3. org.archive.crawler
    Heritrix.main
    1. org.archive.crawler.Heritrix.useAdhocKeystore(Heritrix.java:438)
    2. org.archive.crawler.Heritrix.instanceMain(Heritrix.java:319)
    3. org.archive.crawler.Heritrix.main(Heritrix.java:189)
    3 frames