Re: struts2 +rest service problem

2017-07-19 Thread john lee
I did add conventions plug-in,  From: Ken McWilliams To: Struts Users Mailing List ; john lee Sent: Wednesday, July 19, 2017 4:52 PM Subject: Re: struts2 +rest service problem As mentioned in the other thread have you added the conventions plug-in? The indicated error indicates

Re: struts2 +rest service problem

2017-07-19 Thread Ken McWilliams
As mentioned in the other thread have you added the conventions plug-in? The indicated error indicates a failure of Struts2 to be able to find what it needs so your posted source should not be at issue. On Wed, Jul 19, 2017 at 3:13 PM, john lee wrote: > > Please help for the struts2 + rest serv

Re: struts2 with rest service

2017-07-19 Thread john lee
after i append, the problem is gone, but when i did test, have error message generated. please see the thread. thanks in advance. john From: Ken McWilliams To: Struts Users Mailing List ; john lee Sent: Wednesday, July 19, 2017 4:11 PM Subject: Re: struts2 with rest service Hav

struts2 +rest service problem

2017-07-19 Thread john lee
Please help for the struts2 + rest service  http://beta-dev/ecommerce/employee.xml return the following error report Struts Problem Report Struts has detected an unhandled exception: | Messages: | - com.thoughtworks.xstream.XStream - com/thoughtworks/xstream/XStream - java.lang.

Re: struts2 with rest service

2017-07-19 Thread Ken McWilliams
Have you also included the struts2-conventions-plugin? org.apache.struts struts2-convention-plugin 2.5.10.1 struts2-rest-plugin most definitely depends on struts2-conventions-plugin but it isn't a declared dependency. I've thought that was str

struts2 with rest service

2017-07-19 Thread john lee
To whom it may concern,  my struts+spring+hibernate+mysql works fine, but try to embed the rest service in the application and failed to start. my adding/change is the following WEB-INF/lib  (add the following jar)    json-lib-2.3-jdk15.jar     struts2-rest-plugin-2.3.32.jar WEB-INF/classes/strut