Announcement Announcement Module
Collapse
No announcement yet.
Error with ExceptionHandler Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error with ExceptionHandler

    dispatcher-servlet

    <bean id="exceptionMapping" class="org.objectmaster.webstore.web.ExceptionReso lver">
    <property name="viewName" value="errorView"/>
    </bean>


    java.lang.NoSuchMethodError: org.springframework.web.util.WebUtils.exposeErrorR equestAttributes(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/Throwable;Ljava/lang/StringV
    at org.springframework.web.servlet.DispatcherServlet. processHandlerException(DispatcherServlet.java:112 8)
    at org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:896)
    at org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:807)
    at org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:571)
    at org.springframework.web.servlet.FrameworkServlet.d oPost(FrameworkServlet.java:511)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:738)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:831)
    at org.apache.catalina.core.ApplicationFilterChain.se rvletService(ApplicationFilterChain.java:411)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:317)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:198)
    at org.springframework.web.filter.CharacterEncodingFi lter.doFilterInternal(CharacterEncodingFilter.java :96)
    at org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:230)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:198)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:288)
    at org.apache.catalina.core.StandardContextValve.invo keInternal(StandardContextValve.java:271)
    at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:202)
    at org.apache.catalina.core.StandardPipeline.doInvoke (StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke (StandardPipeline.java:577)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipel ine.java:94)
    at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:206)
    at org.apache.catalina.core.StandardPipeline.doInvoke (StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke (StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:1080)
    at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:150)
    at org.apache.catalina.core.StandardPipeline.doInvoke (StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke (StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(S tandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(Cont ainerBase.java:1080)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(Co yoteAdapter.java:272)
    at com.sun.enterprise.web.connector.grizzly.DefaultPr ocessorTask.invokeAdapter(DefaultProcessorTask.jav a:637)
    at com.sun.enterprise.web.connector.grizzly.DefaultPr ocessorTask.doProcess(DefaultProcessorTask.java:56 8)
    at com.sun.enterprise.web.connector.grizzly.DefaultPr ocessorTask.process(DefaultProcessorTask.java:813)
    at com.sun.enterprise.web.connector.grizzly.DefaultRe adTask.executeProcessorTask(DefaultReadTask.java:3 41)
    at com.sun.enterprise.web.connector.grizzly.DefaultRe adTask.doTask(DefaultReadTask.java:263)
    at com.sun.enterprise.web.connector.grizzly.DefaultRe adTask.doTask(DefaultReadTask.java:214)
    at com.sun.enterprise.web.connector.grizzly.TaskBase. run(TaskBase.java:265)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWo rkerThread.run(SSLWorkerThread.java:106)

    I am using Spring 2.5.6 all Jars from NetBeans and GlassFish v2 No different jar mixing in deployment.

    When I introspect WebUtils there is the method present.

    What's wrong?
Working...
X