Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/applicationContext.xml]

前端 未结 1 1037
无人及你
无人及你 2020-12-22 06:08

I m trying to port my hibernate example to spring by using spring hibernatetemplate but i m getting this error Caused by: java.io.FileNotFoundException: Could not open Servl

相关标签:
1条回答
  • 2020-12-22 06:15

    Where is your applicationContext.xml? You can refer your applicationContext.xml in web.xml as:

    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>/WEB-INF/applicationContext.xml</param-value>
    </context-param>
    
    0 讨论(0)
提交回复
热议问题