Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoSuchMethodError w/ Sponge #69

Open
J15t98J opened this issue Aug 2, 2015 · 1 comment
Open

NoSuchMethodError w/ Sponge #69

J15t98J opened this issue Aug 2, 2015 · 1 comment

Comments

@J15t98J
Copy link

J15t98J commented Aug 2, 2015

Not sure if the docs are out-of-date, but your loadConfiguration() method produces this when running on the Sponge 2.1-SNAPSHOT:

[...]
Caused by: java.lang.NoSuchMethodError: ninja.leaping.configurate.hocon.HoconConfigurationLoader$Builder.setFile(Ljava/io/File;)Lninja/leaping/configurate/hocon/HoconConfigurationLoader$Builder;
    at org.mcstats.Metrics.loadConfiguration(Metrics.java:147) ~[Metrics.class:?]
    at org.mcstats.Metrics.<init>(Metrics.java:139) ~[Metrics.class:?]
[...]

Perhaps use the dependency injections?

@Hidendra
Copy link
Owner

Hidendra commented Mar 3, 2016

Is this still happening on the latest versions of Sponge?

Apologies for the horrendously late reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants