openMF / fineract-pentaho

Pentaho Reporting Plugin for Apache Fineract
Mozilla Public License 2.0
26 stars 45 forks source link

cannot access PersistenceWeaved #75

Closed hubdestro closed 1 year ago

hubdestro commented 1 year ago

I am running the following command ./gradlew -x test distZip

This display the following errors.

> Task :compileJava FAILED
/Users/yoshimitsu/IntelliJProject/fineract-pentaho/src/main/java/org/apache/fineract/infrastructure/report/service/PentahoReportingProcessServiceImpl.java:175: error: cannot access PersistenceWeaved
            final var userhierarchy = currentUser.getOffice().getHierarchy();
                                                 ^
  class file for org.eclipse.persistence.internal.weaving.PersistenceWeaved not found
/Users/yoshimitsu/IntelliJProject/fineract-pentaho/src/main/java/org/apache/fineract/infrastructure/report/service/PentahoReportingProcessServiceImpl.java:181: error: cannot access PersistenceObject
            final var userid = currentUser.getId();
                                          ^
  class file for org.eclipse.persistence.internal.descriptors.PersistenceObject not found
2 errors

FAILURE: Build failed with an exception.

I have tried the followings:

  1. Downgrade fineract from develop to 1.8 & 1.7
  2. Tried multiple solution from the github issues list.

Stack: OS : macOS Ventura JDK: 17.0.0 Fineract branch: develop Fineract Pentaho branch: develop

hubdestro commented 1 year ago

Issue is solved on new branch.