openMF / fineract-pentaho

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

gradlew distZip command is not working #6

Closed BlackCobra29-bit closed 4 years ago

BlackCobra29-bit commented 4 years ago

According to https://github.com/vorburger/fineract-pentaho/ i have followed all the build instructions but when i run gradlew distZip command i am getting the following error.

C:\Users\gelila\fineract-pentaho>gradlew distZip Starting a Gradle Daemon, 26 busy Daemons could not be reused, use --status for details

Task :compileJava C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:19: error: package org. apache.fineract.infrastructure.core.api does not exist import org.apache.fineract.infrastructure.core.api.ApiParameterHelper; ^ C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:20: error: package org. apache.fineract.infrastructure.core.boot does not exist import org.apache.fineract.infrastructure.core.boot.JDBCDriverConfig; ^ C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:21: error: package org. apache.fineract.infrastructure.core.domain does not exist import org.apache.fineract.infrastructure.core.domain.FineractPlatformTenant; ^ C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:22: error: package org. apache.fineract.infrastructure.core.domain does not exist import org.apache.fineract.infrastructure.core.domain.FineractPlatformTenantConn ection; ^ C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:23: error: package org. apache.fineract.infrastructure.core.exception does not exist import org.apache.fineract.infrastructure.core.exception.PlatformDataIntegrityEx ception; ^ C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:24: error: package org. apache.fineract.infrastructure.core.service does not exist import org.apache.fineract.infrastructure.core.service.ThreadLocalContextUtil; ^ C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:25: error: package org. apache.fineract.infrastructure.report.annotation does not exist import org.apache.fineract.infrastructure.report.annotation.ReportService; ^ C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:26: error: package org. apache.fineract.infrastructure.security.service does not exist import org.apache.fineract.infrastructure.security.service.PlatformSecurityConte xt; ^ C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:27: error: package org. apache.fineract.useradministration.domain does not exist import org.apache.fineract.useradministration.domain.AppUser; ^ C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:49: error: cannot find symbol public class PentahoReportingProcessServiceImpl implements ReportingProcessServi ce { ^ symbol: class ReportingProcessService C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:48: error: cannot find symbol @ReportService(type = "Pentaho") ^ symbol: class ReportService C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:54: error: cannot find symbol private final PlatformSecurityContext context; ^ symbol: class PlatformSecurityContext location: class PentahoReportingProcessServiceImpl C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:58: error: cannot find symbol private JDBCDriverConfig driverConfig; ^ symbol: class JDBCDriverConfig location: class PentahoReportingProcessServiceImpl C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:61: error: cannot find symbol public PentahoReportingProcessServiceImpl(final PlatformSecurityContext cont ext) { ^ symbol: class PlatformSecurityContext location: class PentahoReportingProcessServiceImpl C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:69: error: method does not override or implement a method from a supertype @Override ^ C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:74: error: cannot find symbol final Locale locale = ApiParameterHelper.extractLocale(queryParams); ^ symbol: variable ApiParameterHelper location: class PentahoReportingProcessServiceImpl C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:82: error: cannot find symbol throw new PlatformDataIntegrityException("error.msg.invalid.outputTy pe", "No matching Output Type: " + outputType); ^ symbol: class PlatformDataIntegrityException location: class PentahoReportingProcessServiceImpl C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:86: error: cannot find symbol throw new PlatformDataIntegrityException("error.msg.no.pentaho", "Pe ntaho is not enabled", "Pentaho is not enabled"); ^ symbol: class PlatformDataIntegrityException location: class PentahoReportingProcessServiceImpl C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:148: error: cannot find symbol throw new PlatformDataIntegrityException("error.msg.invalid.outputType", "No matching Output Type: " + outputType); ^ symbol: class PlatformDataIntegrityException location: class PentahoReportingProcessServiceImpl C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:153: error: cannot find symbol final AppUser currentUser = this.context.authenticatedUser(); ^ symbol: class AppUser location: class PentahoReportingProcessServiceImpl C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:174: error: cannot find symbol throw new PlatformDataIntegrityException("error.msg.repo rting.error", ^ symbol: class PlatformDataIntegrityException location: class PentahoReportingProcessServiceImpl C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:200: error: cannot find symbol final FineractPlatformTenant tenant = ThreadLocalContextUtil.getTena nt(); ^ symbol: class FineractPlatformTenant location: class PentahoReportingProcessServiceImpl C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:200: error: cannot find symbol final FineractPlatformTenant tenant = ThreadLocalContextUtil.getTena nt(); ^ symbol: variable ThreadLocalContextUtil location: class PentahoReportingProcessServiceImpl C:\Users\gelila\fineract-pentaho\src\main\java\org\apache\fineract\infrastructur e\report\service\PentahoReportingProcessServiceImpl.java:201: error: cannot find symbol final FineractPlatformTenantConnection tenantConnection = tenant.get Connection(); ^ symbol: class FineractPlatformTenantConnection location: class PentahoReportingProcessServiceImpl 24 errors

Task :compileJava FAILED

FAILURE: Build failed with an exception.

BUILD FAILED in 1m 30s 1 actionable task: 1 executed C:\Users\gelila\fineract-pentaho>

Regards Tesfahiwet Truneh

vorburger commented 4 years ago

@deamatsoftwareplc this issue is a duplicate of the (just fixed) #4.