You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2008/01/23 14:23:06 UTC

[jira] Resolved: (WW-2434) Rest Plugin doesn´t work in the struts2-showcase-2.1.1 application

     [ https://issues.apache.org/struts/browse/WW-2434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown resolved WW-2434.
---------------------------

    Resolution: Fixed
      Assignee: Don Brown

This is actually by design.  The Rest plugin alters how Struts works fundamentally and is therefore incompatible with the more traditional Struts application.  One of these days I'd like to try to see if I could get it to be less intrusive, but for now, that's the way it is.

> Rest Plugin doesn´t work in the struts2-showcase-2.1.1 application
> ------------------------------------------------------------------
>
>                 Key: WW-2434
>                 URL: https://issues.apache.org/struts/browse/WW-2434
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions, Example Applications
>    Affects Versions: 2.1.1
>         Environment: Windows XP sp2, Eclipse 3.1 .......JDK 1.5 Tomcat 5.5
>            Reporter: Joaquin Diez
>            Assignee: Don Brown
>             Fix For: 2.1.1
>
>
> I have been testing struts2-showcase-2.1.1  and struts2-rest-showcase-2.1.1, and both seen to work property by separate, but I try to make the code in the Rest application work in the Show Case and this is the error I get.. when I try to call any action in that priorly was working in the Showcase application.
> Struts Problem Report
> Struts has detected an unhandled exception:
> # Messages: 	com.opensymphony.xwork2.ActionSupport.index()
> Stacktraces
> java.lang.NoSuchMethodException: com.opensymphony.xwork2.ActionSupport.index()
>     java.lang.Class.getMethod(Unknown Source)
>     org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.getActionMethod(AnnotationValidationInterceptor.java:55)
>     org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:41)
>     com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:85)
>     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)
>     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:229)
>     com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
>     com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:227)
>     com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:124)
>     com.opensymphony.xwork2.DefaultActionInvocation$1.doProfiling(DefaultActionInvocation.java:230)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.