[ https://issues.apache.org/jira/browse/WW-4898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16274238#comment-16274238 ]
Lukasz Lenart commented on WW-4898: ----------------------------------- It's better to ask such questions via the Users mailing list http://struts.apache.org/mail.html > Unable to integrate struts2-rest-plugin in existing maven structure > ------------------------------------------------------------------- > > Key: WW-4898 > URL: https://issues.apache.org/jira/browse/WW-4898 > Project: Struts 2 > Issue Type: Bug > Components: "New" API, Integration, Plugin - JSON, Plugin - REST > Affects Versions: 2.3.24 > Environment: struts2-core: 2.3.24.1 > struts2-rest-plugin :2.3.24.1 > struts2-convention-plugin : .3.24.1 > Reporter: preetam > > 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 -- This message was sent by Atlassian JIRA (v6.4.14#64029)