K
kris
Hi
I am using Weblogic8.1 SP3 , Hibernate 3 and spring 1.2.3 version.
While deploying the code , I am getting this exception. can any body
help that how to solve this problem.
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]: Initialization of bean
failed; nested exception is java.io.FileNotFoundException: class path
resource [WEB-INF/classes/com/elemica/api/component/account/
AccountBean.hbm.xml] cannot be opened because it does not exist
java.io.FileNotFoundException: class path resource [WEB-INF/classes/
com/elemica/api/component/account/AccountBean.hbm.xml] cannot be
opened because it does not exist
at
org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:
137)
at
org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:
679)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:
1091)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:
396)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:
233)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:
145)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:
277)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:
313)
at
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:
139)
I am using Weblogic8.1 SP3 , Hibernate 3 and spring 1.2.3 version.
While deploying the code , I am getting this exception. can any body
help that how to solve this problem.
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]: Initialization of bean
failed; nested exception is java.io.FileNotFoundException: class path
resource [WEB-INF/classes/com/elemica/api/component/account/
AccountBean.hbm.xml] cannot be opened because it does not exist
java.io.FileNotFoundException: class path resource [WEB-INF/classes/
com/elemica/api/component/account/AccountBean.hbm.xml] cannot be
opened because it does not exist
at
org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:
137)
at
org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:
679)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:
1091)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:
396)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:
233)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:
145)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:
277)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:
313)
at
org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:
139)