com.google.inject.CreationException

Guice creation errors: 1) Could not find a suitable constructor in java.lang.Integer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.


Solutions on the web384

Solution icon of googlegroups
via Google Groups by shulmanb, 2 months ago
Guice creation errors: 1) Could not find a suitable constructor in java.lang.Integer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

Solution icon of github
Guice creation errors: 1) Could not find a suitable constructor in io.druid.indexing.common.config.TaskStorageConfig. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

Solution icon of googlegroups
via Google Groups by Eric Moore, 1 week ago
Guice creation errors: 1) Could not find a suitable constructor in io.druid.indexing.common.config.TaskStorageConfig. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

Solution icon of stackoverflow
Guice creation errors: 1) Could not find a suitable constructor in io.dropwizard.setup.Environment. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

Solution icon of github
via GitHub by rasahner
, 1 year ago
Guice creation errors: 1) Could not find a suitable constructor in io.druid.server.coordination.ZkCoordinator. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

Solution icon of googlegroups
via Google Groups by Martin Aspeli, 1 year ago
Guice creation errors: 1) Could not find a suitable constructor in org.jadapter.tests.guice.SourceToTarget. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

Solution icon of github
Guice creation errors: 1) Could not find a suitable constructor in org.graylog2.streams.StreamRouter. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

Solution icon of github
via GitHub by sixtus
, 1 year ago
Guice creation errors: 1) Could not find a suitable constructor in io.druid.segment.realtime.RealtimeMetricsMonitor. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

Solution icon of googlegroups
via Google Groups by hmx...@gmail.com, 1 year ago
Guice creation errors: 1) Could not find a suitable constructor in io.druid.indexing.common.config.TaskConfig. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

Solution icon of stackoverflow
Guice creation errors: 1) Could not find a suitable constructor in com.sun.jersey.guice.spi.container.servlet.GuiceContainer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private.

Stack trace

  • com.google.inject.CreationException: Guice creation errors: 1) Could not find a suitable constructor in java.lang.Integer. Classes must have either one (and only one) constructor annotated with @Inject or a zero-argument constructor that is not private. at java.lang.Integer.class(Integer.java:37) at org.jclouds.concurrent.config.ExecutorServiceModule.provideExecutorService(ExecutorServiceModule.java:108)

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.