cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NoClassDefFoundError: Could not initialize class c

mithun
Champ in-the-making
Champ in-the-making
i used the openAm for sso . when i run the tomcat server . i got the following Error in my page
Help me to solve this issue


java.lang.NoClassDefFoundError: Could not initialize class com.sun.identity.shared.encode.CookieUtils

at com.iplanet.dpro.session.SessionID.<init>(SessionID.java:120)
at com.iplanet.sso.providers.dpro.SSOProviderImpl.createSSOToken(SSOProviderImpl.java:87)
at com.iplanet.sso.SSOTokenManager.createSSOToken(SSOTokenManager.java:239)
at com.sun.comms.client.security.sso.impl.SunBaseIdentitySSOProvider.SingleSignOn(Unknown Source)
at com.sun.comms.client.web.sso.SSOFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
… 37 more
4 REPLIES 4

afaust
Legendary Innovator
Legendary Innovator
Hello,

which kind of Java VM are you using? Since a Sun-specific class is required, it seems that the library you are using requires a Sun/Oracle JVM, as other JVMs may not provide the same class.

Regards
Axel

mithun
Champ in-the-making
Champ in-the-making
i am  using  java version "1.7.0_01"

is it any particular version is needed ?

Thanks

afaust
Legendary Innovator
Legendary Innovator
Hello,

based on some research of myself, I take back my assumption this may have something to do with your Java VM.

Which version of OpenAM are you using? Do the instructions you based your configuration on match that version? As far as I can see from the JavaDoc of the current version, there isn't any class named com.sun.identity.shared.encode.CookieUtils in the OpenAM codebase.

Regards
Axel

mithun
Champ in-the-making
Champ in-the-making
hello


i am using  openam_10.0.0


Thanks