Current Position:Home > Error!!!!! java.lang.NoClassDefFoundError:

Error!!!!! java.lang.NoClassDefFoundError:

Update:11-30Source: network consolidation
I have been allocated a project to design a secured email using SMIME using JAVA and C++. Also we have the provider Baltimore Technologies.
The problem is the examples given by Baltimore Technologies is showing following error inspite of following all the procedures.
If any one has a program code or can guide me how write a program in this direction will be really helpful.
The objective is to:
1.) write a java program for smime.
2.)encrypt the email, send, verify, decrypt.
also it will be grateful if you can explain about "format of P7m/P7s"..... and also JNDI
Any help is appreciated...
thanks and regards

The Best Answer

can any one help!!!!!
why i am getting this error???
smime example
[13] Failed to open PFX file
com.baltimore.jpkiplus.pkidevice.PKIDeviceException: PKCS12Provider::openFile(); nested exception is:
com.baltimore.jcrypto.asn1.ASN1Exception: PFX:fromASN1Object - the passphrase authentication on the PFX fails.
at com.baltimore.jpkiplus.pkcs12.PFX.fromASN1Object([DashoPro-V1.3-013000])
at com.baltimore.jpkiplus.pkcs12.PFX.fromBER([DashoPro-V1.3-013000])
at com.baltimore.jpkiplus.pkcs12.PFX.<init>([DashoPro-V1.3-013000])
at com.baltimore.jpkiplus.pkidevice.PKCS12Provider.openFile([DashoPro-V1.3-013000])
at com.baltimore.jpkiplus.pkidevice.PKCS12Device.initInstance([DashoPro-V1.3-013000])
at com.baltimore.jpkiplus.pkidevice.PKIDeviceManager.getPKIDevice([DashoPro-V1.3-013000])
at com.baltimore.jpkiplus.vaults.Vault.a([DashoPro-V1.3-013000])
at com.baltimore.jpkiplus.vaults.Vault.openVault([DashoPro-V1.3-013000])
at com.baltimore.jpkiplus.vaults.Vault.openVault([DashoPro-V1.3-013000])
at SMIMEExamples.setup(
at SMIMEExamples.main(SMIMEESetup error: Wrapped PKIDeviceException
Error: Vault.getKeyProvider() - KeyProvider not available.
Error: Vault.getKeyProvider() - KeyProvider not available.
Error: Vault.getKeyProvider() - KeyProvider not available.
Error: STATIC CMSEnvelopedData.encrypt() - ; 1 >= 1
Error: Vault.getKeyProvider() - KeyProvider not available.
thanks and regards
  • Error 500--Internal Server Error: java.lang.NoClassDefFoundError: Update:10-11

    Dears I deployed a and ADF application in Weblogic server configured instance. Compilation and deployment was done perfectly. When I tried to Run the application in my local weblogic instance it throw the following exception Error 500--Internal Serve

  • Error: java.lang.NoClassDefFoundError in Jdeveloper 1618) Update:10-11

    Error: java.lang.NoClassDefFoundError org.apache.struts.taglib.BaseHandlerTag Hi, We are using Jdeveloper10g version 1618) as our IDE. We have a struts based controller architecture in our project. So we frequently use struts tags in ou

  • Error: java.lang.NoClassDefFoundError in execution Update:10-11

    Hi, I compile my code right but when I'm executing the code I get the following error: java.lang.NoClassDefFoundError: jahuwaldt/tools/NeuralNets/NeuronFactory This is my code: import*; public class Gene public FeedForward

  • Error: java.lang.NoClassDefFoundError.... what do I do? Update:11-30

    I'm kinda new to this.... Everything works fine on my Desktop machine (XP Pro), but I've tried twice now to install the SDK (1.5.0_05) on my laptop (XP Home) and here's the problem. When I create a simple classs (see example below) and compile it, ev

  • Error: java.lang.NoClassDefFoundError: org.apache.struts.taglib.html.BaseHa Update:11-30

    I am using JDeveoper10.1.2 with JHeadStart I am developing the OrderEntry application using ADF with Struts. Whenever i make the "Gender" field as Radio Group Button i get the following error message Error: java.lang.NoClassDefFoundError: org.ap

  • Error: java.lang.NoClassDefFoundError when Automatic Import Service loads Update:11-30

    Hi The netware server running NW 6.5sp4a has been reloaded due to hardware failure. All the data was restored to all volumes. When I run zfdstart I get the following error: error: java.lang.NoClassDefFoundError when Automatic Import Service loads. He

  • Error 'java.lang.NoClassDefFoundError: rn exception in thread 'main' Update:11-30

    I have been trying to install Full ABAP Edition-trial version of SAP Netweaver 04s on Windows XP professional SP2. I am getting the error 'java.lang.NoClassDefFoundError: run exception in thread 'main' while trying to execute 'setup.exe' in the image

  • Error java.lang.NoClassDefFoundError: com/tangosol/net/CacheFactory Update:11-30

    error java.lang.NoClassDefFoundError: com/tangosol/net/CacheFactory could please let me know why i am getting this error. I have coherence.jar and tangosol.jar in classpath. Edited by: tally_15 on Jun 23, 2010 6:12 AMHi, Is it a new setup? Is CacheFa

  • Error "java.lang.NoClassDefFoundError: sun/security/provider/Sun" in 10.1.2 Update:11-30

    Hi, I developed an ADF UIX application in JDeveloper 10.1.2. It works fine when I run on embedded oc4j in my machine. I deployed it to Oracle Application Server 10g in AIX. When I run the application from the Application Server and try to open a uix

  • Servlet error: java.lang.NoClassDefFoundError Update:11-30

    We have created OC4J instance on application server. Deployed single application (ear) consisting of one ejb module and one web module. We have deployed the application using OEM, it is installed successfully. When we try to access the action class f