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

Azure Function: Example project create an exception with HTTP request handling - NonUniqueBeanException: Multiple possible bean candidates found: [InterceptorRegistry, InterceptorRegistry] #719

Open
LucaPascucci opened this issue Jul 24, 2024 · 2 comments
Labels
info: workaround available A workaround is available for the issue

Comments

@LucaPascucci
Copy link

LucaPascucci commented Jul 24, 2024

Expected Behavior

Handle HTTP request without errors

Screenshot 2024-07-24 alle 12 49 48

Actual Behaviour

Local azure function have an internal error

image

Steps To Reproduce

  1. run ./mvnw clean package azure-functions:run (if you have problems use this suggestions to resolve package goal)
  2. open a browser
  3. visit http://localhost:7071/api/default

Environment Information

  • Operating System: macOS 14.5
  • Java SDK: 17
  • azure-functions-core-tools@4 installed by Homebrew

Example Application

https://guides.micronaut.io/latest/micronaut-azure-http-functions-maven-java.zip

Version

4.5.0

@LucaPascucci
Copy link
Author

Suggestions

It works adding this plugin to pom build section
image

@graemerocher graemerocher added the info: workaround available A workaround is available for the issue label Jul 24, 2024
@SGINJ
Copy link

SGINJ commented Oct 22, 2024

Same issue for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info: workaround available A workaround is available for the issue
Projects
None yet
Development

No branches or pull requests

3 participants