now I’m handling new module, its using Hibernate and spring, I’m new for this technolgies, since need to solve this ASAP, I’m looking for advice for this, when I deploy my application in server, I’m getting below error,
SRVE0180I: [RbsAdapterWeb] [/IVRAdapterWeb] [Servlet.LOG]: Loading Spring root WebApplicationContext
[11/21/11 13:00:46:709 WST] 778b4480 XmlBeanDefini I org.springframework.beans.factory.xml.XmlBeanDefinitionReader Loading XML bean definitions from class path resource [applicationContext.xml]
[11/21/11 13:00:46:763 WST] 778b4480 ContextLoader E org.springframework.web.context.ContextLoader Context initialization failed
[11/21/11 13:00:46:774 WST] 778b4480 ContextLoader E org.springframework.web.context.ContextLoader TRAS0014I: È stata registrata la seguente eccezione org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'hcm' defined in class path resource [applicationContext.xml]: Class that bean class [it.elsag.echannel.utils.HCMAbstraction] depends on not found; nested exception is java.lang.NoClassDefFoundError: it/elsag/echannel/common/PasswordRulesException
java.lang.NoClassDefFoundError: it/elsag/echannel/common/PasswordRulesException
of course its showing the class is not found but when I check the is exist by check the ear file,
can anyone help me to check this, I’m running on WebSphere
thanks in advance
Try to check the path of the deployed EAR on the server. If you’re working with Network Deployment, should be something like:
{WAS_INSTALL_DIR}/profiles/{deployment_manager_dir}/config/cells/{cell_name}/applications/{app}.earIf it’s a standalone WAS, it’s something like:
{WAS_INSTALL_DIR}/profiles/{your_profile_dir}/config/cells/{cell_name}/applications/{app}.earIf you see that the class isn’t in that ear, then you found the problem.
In Network Deployment, such errors often happen because of an update to the ear, that added some classses, and that update wasn’t yet synchronized with the nodes. Try synchronizing the server’s node an restart the application.