My Oracle Support Banner

OAM 10g: Exception in thread "main" java.lang.NoClassDefFoundError: ImportKey (Doc ID 1124344.1)

Last updated on JUNE 07, 2017

Applies to:

COREid Access - Version: and later   [Release: and later ]
Information in this document applies to any platform.


You try to follow the steps below as per  Oracle� Fusion Middleware Security Guide 11g Release 1 (11.1.1)

Java_install_dir\doc>java -Dkeystore=jkscerts ImportKey aaa_key.der aaa_cert.der

and encounter the following exception:

Exception in thread "main" java.lang.NoClassDefFoundError: ImportKey
Caused by: java.lang.ClassNotFoundException: ImportKey
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClassInternal(
Could not find the main class: ImportKey. Program will exit.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.