-
Aug 27th, 2008, 11:25 PM
#1
Application Context Not Loaded.
I have entred some bean entries in /WEB-INF/spring-ws-servlet.xml, which refers some bean entries in /WEB-INF/web-applicationContext.xml.
I had configured to load the application context xml's has mentioned below during server starup.
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/web-applicationContext.xml /WEB-INF/ws-applicationContext.xml /WEB-INF/spring-ws-servlet.xml</param-value>
</context-param>
But the bean entries mentioned in /WEB-INF/web-applicationContext.xml & /WEB-INF/ws-applicationContext.xml was not loaded.
the bean Id which is refered from /WEB-INF/web-applicationContext.xml is not retrived when it used in /WEB-INF/spring-ws-servlet.xml.
Please comments.
Dev Chennai
-
Aug 28th, 2008, 12:08 AM
#2
Issue resolved when I add the following entry in web.xml
<listener>
<listener-class>org.springframework.web.context.ContextLoade rListener</listener-class>
</listener>
Dev Chennai
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules