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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by dharmeshkakadia
, 10 months ago
Guice configuration errors: 1) Error: Error creating instance of configuration class [com.facebook.presto.hive.HiveClientConfig] 1 error
java.lang.NoClassDefFoundError: Could not initialize class com.facebook.presto.hive.HiveStorageFormat
at com.facebook.presto.hive.HiveClientConfig.(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 io.airlift.configuration.ConfigurationFactory.newInstance(ConfigurationFactory.java:307)
at io.airlift.configuration.ConfigurationFactory.getDefaultConfig(ConfigurationFactory.java:165)
at io.airlift.configuration.ConfigurationProvider.getDefaultConfig(ConfigurationProvider.java:77)
at io.airlift.configuration.ConfigurationInspector$ConfigRecord.(ConfigurationInspector.java:83)
at io.airlift.configuration.ConfigurationInspector$ConfigRecord.createConfigRecord(ConfigurationInspector.java:70)
at io.airlift.bootstrap.Bootstrap.makePrinterForConfiguration(Bootstrap.java:289)
at io.airlift.bootstrap.Bootstrap.logConfiguration(Bootstrap.java:262)
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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.