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

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



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 Join to answer
Community showcase
Louis De Jaeger
Posted yesterday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

123 views 10 2
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot