You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.ClassFormatError: Duplicate method name "_ebean_newInstanceReadOnly" with signature "()Ljava.lang.Object;" in class file xxxxxx
Steps to reproduce
I can not reproduce it yet, however I have a feeling that it happens if git replaces source files on disk after switching branches or similar and then Gradle, using Ebean's Gradle plugin, enhances files.
Maybe carefully reading Ebean enhancement code could reveal the issue. The issue appeared after upgrading from 12.10.0 to 13.8.0 using Gradle 7.5.1.
When the issue appears I have to call gradle clean and recompile everything.
The text was updated successfully, but these errors were encountered:
Actual behavior
java.lang.ClassFormatError: Duplicate method name "_ebean_newInstanceReadOnly" with signature "()Ljava.lang.Object;" in class file xxxxxx
Steps to reproduce
I can not reproduce it yet, however I have a feeling that it happens if git replaces source files on disk after switching branches or similar and then Gradle, using Ebean's Gradle plugin, enhances files.
Maybe carefully reading Ebean enhancement code could reveal the issue. The issue appeared after upgrading from 12.10.0 to 13.8.0 using Gradle 7.5.1.
When the issue appears I have to call
gradle clean
and recompile everything.The text was updated successfully, but these errors were encountered: