Hi Jmix Team Developers.
Recently I’ve been witnessing very weird bug while running my application. The error usually says:
A bean with that name has already been defined in file SOME_FILE.java and overriding is disabled.
Sometimes after adding a new member to my Jmix Enum, they compile fine, and app runs. The problem comes when the newly added enum gets USED in the app with an exception of incompatibleClassChangeError
.
Cleaning the build files with gradle had no use until I removed .jmix folder and everything ran without any problems.
I suppose this’s Jmix’s internal error, and related to the logic written inside .jmix folder.
It’s annoying to see such errors getting up when you run your app every time.
Please spare some of your time, and look at this issue.
I’m using:
- Mac
- Intellij Idea 2024.2
- Jmix version 2.4.4
Best regards
Otabek