Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 189C4FA19 for ; Wed, 21 Aug 2013 18:12:03 +0000 (UTC) Received: (qmail 17982 invoked by uid 500); 21 Aug 2013 18:12:02 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 17893 invoked by uid 500); 21 Aug 2013 18:12:01 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 17851 invoked by uid 99); 21 Aug 2013 18:12:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Aug 2013 18:12:00 +0000 Date: Wed, 21 Aug 2013 18:12:00 +0000 (UTC) From: "Jinder Aujla (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-5917) NoSuchMethodError when calling YamlConfigurationLoader.loadConfig() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13746661#comment-13746661 ] Jinder Aujla commented on CASSANDRA-5917: ----------------------------------------- The build.xml: https://github.com/apache/cassandra/blob/cassandra-2.0.0-rc1/build.xml seems to point to version 1.6 of snakeyaml > NoSuchMethodError when calling YamlConfigurationLoader.loadConfig() > ------------------------------------------------------------------- > > Key: CASSANDRA-5917 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5917 > Project: Cassandra > Issue Type: Bug > Components: API > Environment: Linux > Reporter: Jinder Aujla > Assignee: Dave Brosius > Priority: Minor > > Hi, when this method is called, I see this: > java.lang.NoSuchMethodError: org.yaml.snakeyaml.Yaml.(Lorg/yaml/snakeyaml/constructor/BaseConstructor;)V > at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:86) > at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:125) > at org.apache.cassandra.config.DatabaseDescriptor.(DatabaseDescriptor.java:101) > ...... > I believe it's because of an enhancement made in ticket CASSANDRA-5606. The version of snakeyaml that 2.0.0-rc1 depends on is 1.6, but this constructor doesn't exist in that version but it does in version 1.12. > Coincidentally CASSANDRA-5317 speaks of upgrading the snakeyaml dependency, but I'm not sure what was upgraded. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira