Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Help about integrating Spring,Hibernate,JSF

  Asked By: Kaua    Date: Aug 05    Category: Java    Views: 1309
  

I have a problem in "integrating JSF,Spring,Hibernate".I have chosen :
JSF for presentation layer
Spring for business layer
Hibernate as ORM
It's my first project in this context.I have written the code of 3 layers but there is an error in compiling:

"org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [Configuration.xml]; nested exception is java.io.FileNotFoundException: Could not open class path resource [Configuration.xml]"

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Este Ferrrari     Answered On: Aug 05

there is a sample application in myfaces source code  repository using JSF, Spring check that out.

 
Answer #2    Answered By: Channarong Boonliang     Answered On: Aug 05

I guess you must have this part in your web.xml :

<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>Configuration.xml</param-value>
</context-param>

put the Configuration.xml file in WEB-INF and turn the mentioned xml  part into this:

<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/Configuration.xml</param-value>
</context-param>

 
Answer #3    Answered By: Pchoucine Houcine     Answered On: Mar 18

watch this vidéo for integration spring jsf hibernate

https://www.youtube.com/watch?v=XHu541F_yOo


 
Didn't find what you were looking for? Find more on Help about integrating Spring,Hibernate,JSF Or get search suggestion and latest updates.