HI Team,
We are facing an issue with stack over flow exception in our application . we are not sure why its happening in the code.
I am attaching the complete stack trace for this.
Here is our dispatcher configuration xml
Thank youHTML Code:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:jee="http://www.springframework.org/schema/jee" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.0.xsd"> <context:component-scan base-package="com.applications" /> <mvc:annotation-driven/> <bean id="application" class="org.springframework.context.support.ClassPathXmlApplicationContext"> <constructor-arg> <list> <value>shared/spring-util.xml</value> <value>shared/spring-dao.xml</value> </list> </constructor-arg> </bean> <!-- Declare a view resolver --> <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver" p:prefix="/WEB-INF/jsp/" p:suffix=".jsp" p:order="2"/> <bean id="contentNegotiatingViewResolver" class="org.springframework.web.servlet.view.ContentNegotiatingViewResolver" p:order="1"> <property name="mediaTypes"> <map> <entry key="json" value="application/json" /> </map> </property> </bean> <!-- Default to DefaultController --> <bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"> <property name="defaultHandler" ref="defaultController" /> </bean> <!-- Mappings for Interceptors --> <mvc:interceptors> <mvc:interceptor> <mvc:mapping path="/*"/> <bean id="allUsersInterceptor" class="com.applications.interceptor.AllUsersInterceptor"/> </mvc:interceptor> <!-- Interceptor to intercept all requests to profile pages. --> <mvc:interceptor> <mvc:mapping path="/my-profile/**"/> <bean id="profileAuthInterceptor" class="com.applications.interceptor.ProfileAuthInterceptor"/> </mvc:interceptor> </mvc:interceptors> <!-- Mappings for Interceptors ends --> <!-- Mapping for Exception Handling --> <bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver"> <property name="exceptionMappings"> <props> <!-- For all exceptions Generic error page is shown. Add a "prop" element in case any particular exception requires a specific error page. Key - Fully qualified exception class Value - Relative JSP path.(full path using configured InternalResourceViewResolver) --> <prop key="java.lang.Throwable">error</prop> </props> </property> </bean> <!-- Mapping for Exception Handling ends --> </beans>
Madhav


Reply With Quote