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 web1

Solution icon of googlegroups
via Google Groups by shulmanb, 4 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.

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.