com.google.inject.ConfigurationException

Guice configuration errors: 1) Error: Error creating instance of configuration class [com.facebook.presto.hive.HiveClientConfig] 1 error


Solutions on the web125

Solution icon of github
via GitHub by dharmeshkakadia
, 6 months ago
Guice configuration errors: 1) Error: Error creating instance of configuration class [com.facebook.presto.hive.HiveClientConfig] 1 error

Solution icon of github
via GitHub by yubrew
, 1 year ago
Guice configuration errors: 1) Injected field org.cryptocoinpartners.module.TickWindow.context cannot be final. while locating org.cryptocoinpartners.module.TickWindow 1 error

Solution icon of github
Guice configuration errors: 1) No implementation for com.sun.jersey.core.util.FeaturesAndProperties was bound. while locating com.sun.jersey.core.util.FeaturesAndProperties 1 error

Solution icon of github
Guice configuration errors: 1) No implementation for org.telegram.telegrambots.generics.BotSession was bound. while locating org.telegram.telegrambots.generics.BotSession 1 error

Solution icon of github
Guice configuration errors: 1) No implementation for javax.xml.parsers.DocumentBuilderFactory was bound. while locating javax.xml.parsers.DocumentBuilderFactory 1 error

Solution icon of github
Guice configuration errors: 1) No implementation for com.waze.routing.automation.interfaces.IRequestUrlRepository was bound. while locating com.waze.routing.automation.interfaces.IRequestUrlRepository 1 error

Solution icon of github
Guice configuration errors: 1) No implementation for crud.MyCrudController was bound. while locating crud.MyCrudController 1 error

Solution icon of github
Guice configuration errors: 1) No implementation for org.telegram.telegrambots.generics.BotSession was bound. while locating org.telegram.telegrambots.generics.BotSession 1 error

Solution icon of github
Guice configuration errors: 1) No implementation for org.glassfish.jersey.spi.RuntimeThreadProvider was bound. while locating org.glassfish.jersey.spi.RuntimeThreadProvider 1 error

Solution icon of web
via co.jp by Unknown author, 1 year ago
Guice configuration errors: 1) No implementation for eu.engys.util.plaf.ILookAndFeel was bound. while locating eu.engys.util.plaf.ILookAndFeel 1 error

Stack trace

  • com.google.inject.ConfigurationException: Guice configuration errors: 1) Error: Error creating instance of configuration class [com.facebook.presto.hive.HiveClientConfig] 1 error at io.airlift.configuration.Problems.getException(Problems.java:126) at io.airlift.configuration.Problems.exceptionFor(Problems.java:140) at io.airlift.configuration.ConfigurationFactory.newInstance(ConfigurationFactory.java:313) at io.airlift.configuration.ConfigurationFactory.getDefaultConfig(ConfigurationFactory.java:165) at io.airlift.configuration.ConfigurationProvider.getDefaultConfig(ConfigurationProvider.java:77) at io.airlift.configuration.ConfigurationInspector$ConfigRecord.<init>(ConfigurationInspector.java:83) at io.airlift.configuration.ConfigurationInspector$ConfigRecord.createConfigRecord(ConfigurationInspector.java:70) at io.airlift.configuration.ConfigurationInspector.inspect(ConfigurationInspector.java:36) at io.airlift.bootstrap.Bootstrap.makePrinterForConfiguration(Bootstrap.java:289) at io.airlift.bootstrap.Bootstrap.logConfiguration(Bootstrap.java:262) at io.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:213) at com.facebook.presto.hive.HiveConnectorFactory.create(HiveConnectorFactory.java:107) at com.facebook.presto.connector.ConnectorManager.createConnector(ConnectorManager.java:304) at com.facebook.presto.connector.ConnectorManager.addCatalogConnector(ConnectorManager.java:193) at com.facebook.presto.connector.ConnectorManager.createConnection(ConnectorManager.java:185) at com.facebook.presto.connector.ConnectorManager.createConnection(ConnectorManager.java:171) at com.facebook.presto.metadata.StaticCatalogStore.loadCatalog(StaticCatalogStore.java:99) at com.facebook.presto.metadata.StaticCatalogStore.loadCatalogs(StaticCatalogStore.java:77) at com.facebook.presto.server.PrestoServer.run(PrestoServer.java:120) at com.facebook.presto.server.PrestoServer.main(PrestoServer.java:67) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.facebook.presto.hive.HiveStorageFormat at com.facebook.presto.hive.HiveClientConfig.<init>(HiveClientConfig.java:105) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at io.airlift.configuration.ConfigurationFactory.newInstance(ConfigurationFactory.java:307) ... 17 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.