<![CDATA[p.MsoNormal, li.MsoNormal, div.MsoNormal { margin: 0.0in; font-size: 12.0pt; font-family: Times New Roman;}span.EmailStyle15 { font-family: Arial; color: windowtext;}div.Section1 { page: Section1;}]]>
Hi
I am developing a JSR 286 portlet which uses com.epicentric.user.UserManager class and I have all the portal jar files inside the tomcat lib
As soon as I call UserManager userManager = UserManager.getInstance(); it is throwing exception.
I have followed the examples mentioned in the portal devloper’s guide. Is there any initialization needs to be done before using this class? This code is not in portal context it is developed as part ot jsr 286 portlet in a separate context
Exception being thrown is
Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: Could not initialize class com.epicentric.user.UserManager$UserManagerHolder
Not sure why it is not doing as expected. ThanksMohammed ahmed Details of exception Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: Could not initialize class com.epicentric.user.UserManager$UserManagerHolder
... 49 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.epicentric.user.UserManager$UserManagerHolder
at com.epicentric.user.UserManager.getInstance(UserManager.java:85)
at com.chemtura.bgonesource.portlets.Messaging.getAllPortalUsers(Messaging.java:607)
at com.chemtura.bgonesource.portlets.Messaging.processAction(Messaging.java:190)
at com.vignette.portal.portlet.jsrcontainer.internal.standardcontainer.management.FilterChainImpl.doFilter(FilterChainImpl.java:204)
at com.vignette.portal.portlet.jsrcontainer.internal.standardcontainer.management.FilterManagerImpl.processFilter(FilterManagerImpl.java:67)
at com.vignette.portal.portlet.jsrcontainer.internal.standardcontainer.invocation.ProcessActionCommand.execute(ProcessActionCommand.java:62)
at com.vignette.portal.portlet.jsrcontainer.PortletCommandServlet.service(PortletCommandServlet.java:170)
... 48 more