You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "preetam (JIRA)" <ji...@apache.org> on 2017/12/01 10:42:00 UTC

[jira] [Created] (WW-4898) Unable to integrate struts2-rest-plugin in existing maven structure

preetam created WW-4898:
---------------------------

             Summary: 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)