Unable to integrate struts2-rest-plugin in existing maven structure

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Unable to integrate struts2-rest-plugin in existing maven structure

preetam1910@gmail.com
Hello,

I am trying add struts2-rest-plugin to existing application. tried all possible option but no use.!
I am new to maven related stuff,  
Getting below errors:
Caused by: Unable to load bean: type:org.apache.struts2.rest.handler.ContentTypeHandler class:org.apache.struts2.rest.handler.JsonLibHandler - bean - jar:file:/C:/Users/userName/.m2/repository/org/apache/struts/struts2-rest-plugin/2.3.24.1/struts2-rest-plugin-2.3.24.1.jar!/struts-plugin.xml:36:138
Caused by: java.lang.NoClassDefFoundError: net/sf/json/JSONArray
Caused by: java.lang.ClassNotFoundException: net.sf.json.JSONArray

Further details are in below jira link. Which is closed by owner. But details are their.
https://issues.apache.org/jira/browse/WW-4898



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]