I am trying to deploy struts2 with the rest plugin onto the Google app engine...
I have copied the showcase files to a GAE project created in Eclipse. The compilation and upload works fine.
When I hit the index.jsp, which forwards me to /orders I get a 404.
When I check the logs, there is no error, just a warning (as below). The OrdersController does not have code for an INPUT result, therefore I'm thinking something isnt configured right and maybe some default struts configuration is being triggered?
Any ideas here?
com.opensymphony.xwork2.util.logging.commons.CommonsLogger warn: Could not find action or result No result defined for action org.apache.struts2.rest.example.OrdersController and result input at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:364) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:266) at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252) at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at com.opensymphony `
i also getting error like no result(json) and action(Or)result not found
WARNING: Result class [org.apache.struts2.json.JSONResult] doesn't exist (ClassNotFoundException) at result-type - file:/D:/Workspace/Ide/Struts2GAE1/war/WEB-INF/classes/struts.xml:20:74, ignoring
java.lang.ClassNotFoundException: org.apache.struts2.json.JSONResult
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(IsolatedAppClassLoader.java:176)
at java.lang.ClassLoader.loadClass(Unknown Source)
i am import all struts2 and rest plugins that web app is fine ..any solution..