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

Could not autowire. No beans of 'Chatclient' type found. #1

Open
gerardv opened this issue Aug 29, 2024 · 0 comments
Open

Could not autowire. No beans of 'Chatclient' type found. #1

gerardv opened this issue Aug 29, 2024 · 0 comments

Comments

@gerardv
Copy link

gerardv commented Aug 29, 2024

https://github.com/joshlong-attic/bootiful-spring-boot-2024-blog/blob/91c91f93aebebb255d042330e5437c054fb72a2b/service/src/main/java/com/example/service/StoryController.java#L16C1-L16C43

Hi Josh,

Great article, but the code doesn't fly, even though it's a demo ;)

I get this:
image

Note that I had to import a different class to get it to compile alltogheter, outcommenting the autowiring of the chat client.

I also forked your repo but couldn't compile due to a different graal-related issue, but don't let me mix up different issues here.

What am I doing wrong?

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

No branches or pull requests

1 participant