Error: Multiple possible bean candidates found #7249
-
I’ve been trying to troubleshoot this issue on my MacBook Pro with Monterey Version 12.3.1(21E258). From my command prompt I’m running ./gradlew run and getting the error:
I’ve removed my user folder name from the above error message. I’ve run this command previously but now it’s throwing an error. I’m not sure what changed.
The exact same code and setup works on a linux box but not the Mac. I’ve tried uninstalling and re-installing java. I’ve tried to clean and then run. I’ve tried |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
This is possibly the root cause: #7186 (comment) |
Beta Was this translation helpful? Give feedback.
-
You might have multiple versions of Core on your classpath or something related to shadow plugin. |
Beta Was this translation helpful? Give feedback.
-
updating my |
Beta Was this translation helpful? Give feedback.
updating my
gradle.properties
file to usemicronautVersion=3.3.4
solved the problem