Hola, estoy atorado con esto, estoy enlazando spring con hibernate, cuando llamo al bean factory me marca un error de q el archivo no existe, e intentando pasarle la ruta de las siguientes maneras:
Código:
BeanFactory beanFactory = new XmlBeanFactory(new ClassPathResource(
"applicationContext-servlet.xml",getClass()));
Código:
BeanFactory beanFactory = new XmlBeanFactory(new ClassPathResource(
"applicationContext-servlet.xml"));
Código:
BeanFactory beanfactory = new XmlBeanFactory(new ClassPathResource("WEB-INF/applicationContext-servlet.xml"))
Código:
BeanFactory beanfactory = new XmlBeanFactory(new ClassPathResource("applicationContext-servlet.xml"))
alguien tiene una idea?.
Saludos.