-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
missing_constructor_errors_at_inject_required.txt
39 lines (29 loc) · 2.19 KB
/
missing_constructor_errors_at_inject_required.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Unable to create injector, see the following errors:
1) [Guice/MissingConstructor]: No injectable constructor for type MissingConstructorErrorTest$NoArgConstructorWithoutAtInject.
Injector is configured to require @Inject constructors but class MissingConstructorErrorTest$NoArgConstructorWithoutAtInject does not have a @Inject annotated constructor.
Requested by:
1 : MissingConstructorErrorTest$NoArgConstructorWithoutAtInject.class(MissingConstructorErrorTest.java:23)
at MissingConstructorErrorTest$MissingConstructorAtInjectRequiredModule.provideObject(MissingConstructorErrorTest.java:74)
\_ for 2nd parameter noArgConstructorWithoutAtInject
at MissingConstructorErrorTest$MissingConstructorAtInjectRequiredModule.provideObject(MissingConstructorErrorTest.java:74)
Learn more:
https://github.com/google/guice/wiki/MISSING_CONSTRUCTOR
2) [Guice/MissingConstructor]: No injectable constructor for type MissingConstructorErrorTest$PrivateConstructor.
Injector is configured to require @Inject constructors but class MissingConstructorErrorTest$PrivateConstructor does not have a @Inject annotated constructor.
Requested by:
1 : MissingConstructorErrorTest$PrivateConstructor.class(MissingConstructorErrorTest.java:1)
at MissingConstructorErrorTest$MissingConstructorAtInjectRequiredModule.provideObject(MissingConstructorErrorTest.java:74)
\_ for 3rd parameter privateConstructor
at MissingConstructorErrorTest$MissingConstructorAtInjectRequiredModule.provideObject(MissingConstructorErrorTest.java:74)
Learn more:
https://github.com/google/guice/wiki/MISSING_CONSTRUCTOR
2 errors
======================
Full classname legend:
======================
MissingConstructorErrorTest$MissingConstructorAtInjectRequiredModule: "com.google.inject.errors.MissingConstructorErrorTest$MissingConstructorAtInjectRequiredModule"
MissingConstructorErrorTest$NoArgConstructorWithoutAtInject: "com.google.inject.errors.MissingConstructorErrorTest$NoArgConstructorWithoutAtInject"
MissingConstructorErrorTest$PrivateConstructor: "com.google.inject.errors.MissingConstructorErrorTest$PrivateConstructor"
========================
End of classname legend:
========================