JIRA插件在以下情况下崩溃;org.apache.wink.json4j.JSONObject object“;是实例化的

JIRA插件在以下情况下崩溃;org.apache.wink.json4j.JSONObject object“;是实例化的,jira,jira-plugin,atlassian-plugin-sdk,oslc,lyo,Jira,Jira Plugin,Atlassian Plugin Sdk,Oslc,Lyo,当我们在自定义jira服务器插件中启动包“org.apache.wink.json4j.JSONObject”中定义的“JSONObject”时,插件崩溃并给出以下附加错误 Jira详情如下 7.13.0 请添加jira的日志 import com.atlassian.plugins.rest.common.security.AnonymousAllowed; ***import org.apache.wink.json4j.JSONObject;*** import javax.ws.rs.*

当我们在自定义jira服务器插件中启动包“org.apache.wink.json4j.JSONObject”中定义的“JSONObject”时,插件崩溃并给出以下附加错误

Jira详情如下 7.13.0

请添加jira的日志
import com.atlassian.plugins.rest.common.security.AnonymousAllowed;
***import org.apache.wink.json4j.JSONObject;***
import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;

@Path("/message")
public class MyRestResource {

    @GET
    @AnonymousAllowed
    @Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
    public Response getMessage() {
      ***JSONObject response = new JSONObject();***
      return Response.ok(new MyRestResourceModel("Hello")).build();
    }
}