It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

java.lang.NoSuchMethodError: getCopyOfPropertyMap()Ljava/util/Map - JRJC

Hello,

 

This is the first time that i am going to use JRJC. I manually downloaded the jar files and dependencies that i might need. But I am getting the error below when running java code snippet for jira:

 

Exception in thread "main" java.lang.NoSuchMethodError: ch.qos.logback.classic.LoggerContext.getCopyOfPropertyMap()Ljava/util/Map;  at ch.qos.logback.classic.spi.LoggerContextVO.<init>(LoggerContextVO.java:46)  at ch.qos.logback.classic.LoggerContext.<init>(LoggerContext.java:68)  at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:59)  at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:50)  at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)  at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)  at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)  at com.atlassian.httpclient.apache.httpcomponents.DefaultHttpClient.<init>(DefaultHttpClient.java:63)  at com.atlassian.jira.rest.client.internal.async.AsynchronousHttpClientFactory.createClient(AsynchronousHttpClientFactory.java:53)  at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.create(AsynchronousJiraRestClientFactory.java:35)  at com.atlassian.jira.rest.client.internal.async.AsynchronousJiraRestClientFactory.createWithBasicHttpAuthentication(AsynchronousJiraRestClientFactory.java:41)  at GetFieldValues.main(GetFieldValues.java:16)

 

Do you know where can I find the jar file which contains the getCopyOfPropertyMap() method? I downloaded logback-classic-1.0.13.jar and found out that the method is not existing there.

1 answer

You need include log back core 1.0.13.jar. You can remove log back classic jar.


This jar contains the respective method.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Expose your beautifully crafted Dashboard through the Jira Service Desk Customer Portal

  A picture is worth a thousand words, especially when you're trying to find relationships and understand your data. Here, Dashboards play a vital role in gaining insights from a variety of dat...

271 views 5 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you