cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuki Morishita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5917) NoSuchMethodError when calling YamlConfigurationLoader.loadConfig()
Date Wed, 21 Aug 2013 20:45:53 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-5917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13746823#comment-13746823
] 

Yuki Morishita commented on CASSANDRA-5917:
-------------------------------------------

[~jbellis] done in 0db3413548552ea044890b7d7ffd0dbed0078be1
                
> 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.<init>(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.<clinit>(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

Mime
View raw message