Closed Kejam closed 5 years ago
Hello. I use new version framework, java 8, idea 2018.3, ubuntu 18. When i try to update issue i catch exception:
java.lang.NoSuchMethodError: org.json.JSONWriter.(Ljava/io/Writer;)V
example code: https://github.com/Kejam/simpleTelegramBot
`@Override
public boolean approvedIssue(Status status, int id) { try { logger.info("Try to change issue {} to {}", id, status); issue = issueManager.getIssueById(id); issue.setSubject(status.toString()); issue.update(); } catch (RedmineException e) { logger.error("Error change issue {} to {}", id, status); e.printStackTrace(); } return true; // add check after update issue. }`
i've solved problem, idea use json api from telegram api...
Hello. I use new version framework, java 8, idea 2018.3, ubuntu 18. When i try to update issue i catch exception:
example code: https://github.com/Kejam/simpleTelegramBot