Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CDI] fix krazo missing bean #21

Open
wants to merge 1 commit into
base: improvements/ol-disable-implicit-bean-archives
Choose a base branch
from

Conversation

bmarwell
Copy link

@bmarwell bmarwell commented Apr 23, 2023

Here's one way to do it.
Krazo's MvcContextImpl is in an archive without beans.xml, so we need to add a producer (or just extend it).
I got a message the home controller needs to be a bean, too.

Part of the answer from the Stack Overflow question: https://stackoverflow.com/questions/76081454/weld-001408-unsatisfied-dependencies-in-openliberty-with-implicit-bean-scanning/76083634#76083634 (link to answer).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant