Results 1 to 2 of 2

Thread: Controller message: action is not mapped to a valid resource

  1. #1
    Join Date
    Mar 2008
    Posts
    256

    Default Controller message: action is not mapped to a valid resource

    Dear all,

    I get this error message when calling my controller:
    Code:
    16:42:56 ERROR DefaultHandlerExceptionResolver [req:6]: Unhandled exception: Entity: null Event information:SecurityEventCode[SUSPICIOUS_INPUT]
    
    ...MySecurityException: ServletPath [/webfakturaListAll.action] is not mapped to a valid ...resource.
    
    Entity: null Event information:SecurityEventCode[SUSPICIOUS_INPUT]
    
    ...SecurityException: ServletPath [/webfakturaListAll.action] is not mapped to a valid KundePortal resource.
    
            at ....security.AuthorizationInterceptor.preHandle(AuthorizationInterceptor.java:87)
    My controller…

    Code:
        <bean id="webfakturaListAllController" name="/webfakturaListAll.action"
    
              class="...webfaktura.WebfakturaListAllController" scope="prototype">
    
            <property name="successView" value="webfakturaList.action"/>
    
        </bean>
    Code:
    @ControllerActivityCode(ActivityCode.WEBFAKTURA)
    
    public class WebfakturaListAllController extends AbstractGenericCommandController<WebfakturaListCommand> {
    
        private static final Logger logger = Logger.getLogger(WebfakturaListAllController.class);
    
        private String successView;
    
        public void setSuccessView(String successView) {
    
            this.successView = successView;
    
        }
    
     
    
        @Override
    
        protected ModelAndView handleInternal(HttpServletRequest request, HttpServletResponse response,
    
                WebfakturaListCommand webfakturaListCommand, BindException errors) throws Exception {
    
            WebfakturaSearchBean.SESSION.remove(request);
    
            return new ModelAndView(new RedirectView(successView));
    
        }
    
    }
    Any idea..?

  2. #2
    Join Date
    Mar 2008
    Posts
    256

    Default

    in fact it was the cache of IntelliJ that was holding a stale version of the source code.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •