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
I am trying add struts2-rest-plugin to existing application. But getting below errors. I am tried all possible option but no use!
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

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