Skip to content

ArC: Instance type problem #22144

Answered by manovotn
famod asked this question in Q&A
Dec 13, 2021 · 4 comments · 14 replies
Discussion options

You must be logged in to vote

That looks like a spicy issue indeed @famod :)

I ruled out any local inconsistencies and it only goes away when changing it to:

Do I understand it correctly that those beans are actually existing and can be selected/injected on your local machine if you change the Instance declaration?
If so, then that rules out any issues with bean discovery/registration.

Another thing I can think of (probably not the case, but just to be sure) is removed beans - can you verify that on your local machine those beans do not get marked as removable? Alternatively, just mark all of the impls as @Unremovable and try with the original Instance<JpaRepository<? extends BaseEntity<?>, ?>> to see what happens.

Replies: 4 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
14 replies
@mkouba
Comment options

mkouba Dec 15, 2021
Collaborator

@famod
Comment options

famod Feb 3, 2022
Collaborator Author

@mkouba
Comment options

mkouba Feb 4, 2022
Collaborator

@famod
Comment options

famod Feb 4, 2022
Collaborator Author

@mkouba
Comment options

mkouba Feb 4, 2022
Collaborator

Answer selected by famod
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/arc Issue related to ARC (dependency injection)
4 participants