java 8 certandkeygen exception during runtime -


i have third party java package compiled using java 6 version , package deployed in java 8 environment. seeing follow exception during runtime.

exception in thread "awt-eventqueue-2" java.lang.noclassdeffounderror: sun/security/x509/certandkeygen        @ com.xxx.ws.security.impl.defaultsecuritystore.generateselfsignedentry(unknown source)        @ com.xxx.ws.security.impl.securitypluginutil.sign(unknown source)        @ com.xxx.ws.security.impl.processingcontext.processoutbound(unknown source)        @ com.xxx.ws.security.impl.basesecurityenvironment.secureoutboundmessage(unknown source)        @ com.xxx.em.launch.message.launchrequestmessage.sendto(unknown source) 

i did research exception , discovered java 8 moved certandkeygen class sun.security.tools.keytool package. in case, package compiled using java 6 , referring sun.security.x509.certandkeygen package. alternative approach mitigate issue. . time.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -