我有以下错误-
com.atlassian.jira.rest.client.api.RestClientException: org.codehaus.jettison.json.JSONException: JSONObject["self"] not found.
[ERROR] 2020-12-03 17:31:58.387 [scheduling-1] TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task
com.atlassian.jira.rest.client.api.RestClientException: org.codehaus.jettison.json.JSONException: JSONObject["self"] not found.
at com.atlassian.jira.rest.client.internal.async.DelegatingPromise.claim(DelegatingPromise.java:45) ~[jira-rest-java-client-core-5.2.0.jar:?]
at com.vmware.vulnerability.vulnerabilityanalyzer.util.JiraUtil.createIssue(JiraUtil.java:53) ~[classes/:?]
我搜索了很多关于这个错误的信息,发现可能是版本问题,所以我在dependecies中改成了5.2.0
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-core</artifactId>
<version>5.2.0</version>
</dependency>
<dependency>
<groupId>com.atlassian.fugue</groupId>
<artifactId>fugue</artifactId>
<version>2.6.1</version>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-app</artifactId>
<version>5.2.0</version>
</dependency>
我尝试了以上所有的组合,去掉赋格或加上它,但我仍然面临着同样的问题。
暂无答案!
目前还没有任何答案,快来回答吧!