meraki-analytics / orianna

A Java framework for the Riot Games League of Legends API (http://developer.riotgames.com/).
MIT License
182 stars 56 forks source link

Exception READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE | java.lang.NoSuchFieldError #145

Closed wafebreaker closed 11 months ago

wafebreaker commented 11 months ago

I am currently trying to create new product in intellin with maven and i am using the 4.0.0-rc9 version. It gives me an error while trying to start the program.

It breaks in this line: Orianna.setRiotAPIKey(API_KEY);

and gives the full error message:

Exception in thread "main" java.lang.NoSuchFieldError: READ_UNKNOWN_ENUM_VALUES_USING_DEFAULT_VALUE at com.fasterxml.jackson.databind.deser.std.EnumDeserializer.createContextual(EnumDeserializer.java:235) at com.fasterxml.jackson.databind.DeserializationContext.handlePrimaryContextualization(DeserializationContext.java:851) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:561) at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:315) at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:265) at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:163) at com.fasterxml.jackson.databind.DeserializationContext.findNonContextualValueDeserializer(DeserializationContext.java:659) at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.resolve(BeanDeserializerBase.java:550) at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializerCache.java:315) at com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCacheValueDeserializer(DeserializerCache.java:265) at com.fasterxml.jackson.databind.deser.DeserializerCache.findValueDeserializer(DeserializerCache.java:163) at com.fasterxml.jackson.databind.DeserializationContext.findRootValueDeserializer(DeserializationContext.java:669) at com.fasterxml.jackson.databind.ObjectMapper._findRootDeserializer(ObjectMapper.java:5030) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4900) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3846) at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3814) at com.merakianalytics.orianna.Orianna.getConfiguration(Orianna.java:490) at com.merakianalytics.orianna.Orianna.defaultSettings(Orianna.java:451) at com.merakianalytics.orianna.Orianna.(Orianna.java:301) at org.wafebreaker.solayttwitchbot.Launcher.main(Launcher.java:14)

Process finished with exit code 1