Hello @Kigred I have run into a similar issue as you; same error, i have tried with both java 17 and 21, the only difference is that i am using mysql 8.0.36 and ubuntu 22.04. Did you find out what caused this or a workaround?
Regards, Naphlin Peter Akena, Kampala, Uganda tel:+256777110054 skype: *napho.peter* On Tue, Feb 27, 2024 at 10:38 AM Kigred Developer < kigred.develo...@gmail.com> wrote: > Hello Devs, > > I run into the following issue exception when I run the develop branch of > fineract. > > > > *Exception Description: Entity class [class > org.apache.fineract.portfolio.loanproduct.domain.LoanProductPaymentAllocationRule] > has no primary key specified. It should define either an @Id, @EmbeddedId > or an @IdClass. If you have defined PK using any of these annotations then > make sure that you do not have mixed access-type (both fields and > properties annotated) in your entity class hierarchy. at > org.eclipse.persistence.exceptions.StaticWeaveException.exceptionPerformWeaving(StaticWeaveException.java:140) > at > org.eclipse.persistence.tools.weaving.jpa.StaticWeave.main(StaticWeave.java:88)* > > My environment is Windows 10, MariaDB 11.02, Java 17.03 > This happens when I run gradlew bootRun. > > How can I resolve it? > > Regards. > Wilfred >