The short answer: don't build with intellij. Use the embedded gradle. On Sun, Aug 12, 2018, 10:03 PM Ahmad Saki <[email protected]> wrote:
> When I build this project on ItelliJ- the console output is 'BUILD > SUCCESSFUL'. > > But when I want to run this project using the IntelliJ IDEA- the console > output is: > > Information:java: Some messages have been simplified; recompile with > -Xdiags:verbose to get full output > Information:java: Errors occurred while compiling module 'ofbiz' > Information:javac 1.8.0_92 was used to compile java sources > Information:8/13/2018 12:37 AM - Compilation completed with 100 errors and > 0 warnings in 2 m 42 s 973 ms > > F:\softwareEngineering\apache-ofbiz-16.11.04\applications\accounting\src\main\java\org\apache\ofbiz\accounting\thirdparty\securepay\SecurePayPaymentServices.java > Error:(40, 25) java: package securepay.jxa.api does not exist > Error:(41, 25) java: package securepay.jxa.api does not exist > Error:(85, 9) java: cannot find symbol > symbol: class Payment > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(85, 31) java: cannot find symbol > symbol: class Payment > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(90, 9) java: cannot find symbol > symbol: class Txn > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(113, 17) java: cannot find symbol > symbol: class Txn > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(177, 9) java: cannot find symbol > symbol: class Payment > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(177, 31) java: cannot find symbol > symbol: class Payment > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(181, 9) java: cannot find symbol > symbol: class Txn > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(195, 17) java: cannot find symbol > symbol: class Txn > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(256, 9) java: cannot find symbol > symbol: class Payment > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(256, 31) java: cannot find symbol > symbol: class Payment > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(260, 9) java: cannot find symbol > symbol: class Txn > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(274, 17) java: cannot find symbol > symbol: class Txn > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(309, 87) java: incompatible types: bad type in conditional > expression > java.lang.Object cannot be converted to java.lang.String > Error:(343, 9) java: cannot find symbol > symbol: class Payment > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(343, 31) java: cannot find symbol > symbol: class Payment > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(347, 9) java: cannot find symbol > symbol: class Txn > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(361, 17) java: cannot find symbol > symbol: class Txn > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(416, 9) java: cannot find symbol > symbol: class Payment > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(416, 31) java: cannot find symbol > symbol: class Payment > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(421, 9) java: cannot find symbol > symbol: class Txn > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > Error:(440, 17) java: cannot find symbol > symbol: class Txn > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayPaymentServices > > F:\softwareEngineering\apache-ofbiz-16.11.04\applications\accounting\src\main\java\org\apache\ofbiz\accounting\thirdparty\ideal\IdealEvents.java > Error:(56, 31) java: package com.ing.ideal.connector does not exist > Error:(57, 31) java: package com.ing.ideal.connector does not exist > Error:(58, 31) java: package com.ing.ideal.connector does not exist > Error:(59, 31) java: package com.ing.ideal.connector does not exist > Error:(60, 31) java: package com.ing.ideal.connector does not exist > Error:(425, 24) java: cannot find symbol > symbol: class Issuer > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(152, 13) java: cannot find symbol > symbol: class IdealConnector > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(152, 44) java: cannot find symbol > symbol: class IdealConnector > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(153, 13) java: cannot find symbol > symbol: class Transaction > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(153, 43) java: cannot find symbol > symbol: class Transaction > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(160, 33) java: cannot find symbol > symbol: class SecureRandom > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(164, 13) java: cannot find symbol > symbol: class Transaction > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(168, 18) java: cannot find symbol > symbol: class IdealException > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(202, 13) java: cannot find symbol > symbol: class IdealConnector > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(202, 44) java: cannot find symbol > symbol: class IdealConnector > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(203, 13) java: cannot find symbol > symbol: class Transaction > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(216, 18) java: cannot find symbol > symbol: class IdealException > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(298, 62) java: incompatible types: inference variable V has > incompatible bounds > equality constraints: java.lang.String > lower bounds: > V2,org.apache.ofbiz.entity.GenericValue,V1,java.lang.String > Error:(426, 14) java: cannot find symbol > symbol: class Issuer > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(426, 50) java: cannot find symbol > symbol: class Issuer > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(428, 13) java: cannot find symbol > symbol: class IdealConnector > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(428, 44) java: cannot find symbol > symbol: class IdealConnector > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(429, 13) java: cannot find symbol > symbol: class Issuers > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(430, 18) java: cannot find symbol > symbol: class Issuer > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(431, 18) java: cannot find symbol > symbol: class Issuer > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(432, 27) java: cannot find symbol > symbol: class Issuer > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(433, 17) java: cannot find symbol > symbol: class Issuer > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(433, 34) java: cannot find symbol > symbol: class Issuer > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(436, 27) java: cannot find symbol > symbol: class Issuer > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(437, 17) java: cannot find symbol > symbol: class Issuer > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(437, 34) java: cannot find symbol > symbol: class Issuer > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > Error:(440, 18) java: cannot find symbol > symbol: class IdealException > location: class org.apache.ofbiz.accounting.thirdparty.ideal.IdealEvents > > F:\softwareEngineering\apache-ofbiz-16.11.04\applications\accounting\src\main\java\org\apache\ofbiz\accounting\thirdparty\orbital\OrbitalPaymentServices.java > Error:(42, 47) java: package com.paymentech.orbital.sdk.configurator does > not exist > Error:(43, 45) java: package com.paymentech.orbital.sdk.interfaces does not > exist > Error:(44, 45) java: package com.paymentech.orbital.sdk.interfaces does not > exist > Error:(45, 45) java: package com.paymentech.orbital.sdk.interfaces does not > exist > Error:(46, 42) java: package com.paymentech.orbital.sdk.request does not > exist > Error:(47, 42) java: package com.paymentech.orbital.sdk.request does not > exist > Error:(48, 55) java: package > com.paymentech.orbital.sdk.transactionProcessor does not exist > Error:(49, 55) java: package > com.paymentech.orbital.sdk.transactionProcessor does not exist > Error:(50, 50) java: package com.paymentech.orbital.sdk.util.exceptions > does not exist > Error:(62, 19) java: cannot find symbol > symbol: class TransactionProcessorIF > location: class > org.apache.ofbiz.accounting.thirdparty.orbital.OrbitalPaymentServices > Error:(63, 19) java: cannot find symbol > symbol: class ResponseIF > location: class > org.apache.ofbiz.accounting.thirdparty.orbital.OrbitalPaymentServices > Error:(64, 19) java: cannot find symbol > symbol: class RequestIF > location: class > org.apache.ofbiz.accounting.thirdparty.orbital.OrbitalPaymentServices > Error:(306, 135) java: cannot find symbol > symbol: class RequestIF > location: class > org.apache.ofbiz.accounting.thirdparty.orbital.OrbitalPaymentServices > Error:(387, 125) java: cannot find symbol > symbol: class RequestIF > location: class > org.apache.ofbiz.accounting.thirdparty.orbital.OrbitalPaymentServices > Error:(426, 103) java: cannot find symbol > symbol: class RequestIF > location: class > org.apache.ofbiz.accounting.thirdparty.orbital.OrbitalPaymentServices > Error:(458, 125) java: cannot find symbol > symbol: class RequestIF > location: class > org.apache.ofbiz.accounting.thirdparty.orbital.OrbitalPaymentServices > Error:(495, 52) java: cannot find symbol > symbol: class RequestIF > location: class > org.apache.ofbiz.accounting.thirdparty.orbital.OrbitalPaymentServices > Error:(605, 42) java: cannot find symbol > symbol: class ResponseIF > location: class > org.apache.ofbiz.accounting.thirdparty.orbital.OrbitalPaymentServices > Error:(649, 95) java: cannot find symbol > symbol: class RequestIF > location: class > org.apache.ofbiz.accounting.thirdparty.orbital.OrbitalPaymentServices > > F:\softwareEngineering\apache-ofbiz-16.11.04\applications\accounting\src\main\java\org\apache\ofbiz\accounting\thirdparty\paypal\PayPalServices.java > Error:(73, 31) java: package com.paypal.sdk.core.nvp does not exist > Error:(74, 31) java: package com.paypal.sdk.core.nvp does not exist > Error:(75, 33) java: package com.paypal.sdk.exceptions does not exist > Error:(76, 31) java: package com.paypal.sdk.profiles does not exist > Error:(77, 31) java: package com.paypal.sdk.profiles does not exist > Error:(78, 31) java: package com.paypal.sdk.services does not exist > Error:(300, 59) java: cannot find symbol > symbol: class NVPDecoder > location: class > org.apache.ofbiz.accounting.thirdparty.paypal.PayPalServices > Error:(316, 40) java: cannot find symbol > symbol: class NVPEncoder > location: class > org.apache.ofbiz.accounting.thirdparty.paypal.PayPalServices > Error:(996, 73) java: cannot find symbol > symbol: class NVPEncoder > location: class > org.apache.ofbiz.accounting.thirdparty.paypal.PayPalServices > Error:(996, 20) java: cannot find symbol > symbol: class NVPDecoder > location: class > org.apache.ofbiz.accounting.thirdparty.paypal.PayPalServices > Error:(996, 100) java: cannot find symbol > symbol: class PayPalException > location: class > org.apache.ofbiz.accounting.thirdparty.paypal.PayPalServices > > F:\softwareEngineering\apache-ofbiz-16.11.04\applications\accounting\src\main\java\org\apache\ofbiz\accounting\thirdparty\verisign\PayflowPro.java > Error:(53, 22) java: package paypal.payflow does not exist > Error:(54, 22) java: package paypal.payflow does not exist > Error:(896, 20) java: cannot find symbol > symbol: class PayflowAPI > location: class > org.apache.ofbiz.accounting.thirdparty.verisign.PayflowPro > > F:\softwareEngineering\apache-ofbiz-16.11.04\applications\accounting\src\main\java\org\apache\ofbiz\accounting\thirdparty\ideal\IdealPaymentServiceTest.java > Error:(31, 31) java: package com.ing.ideal.connector does not exist > Error:(32, 31) java: package com.ing.ideal.connector does not exist > Error:(33, 31) java: package com.ing.ideal.connector does not exist > > F:\softwareEngineering\apache-ofbiz-16.11.04\applications\accounting\src\main\java\org\apache\ofbiz\accounting\thirdparty\cybersource\IcsPaymentServices.java > Error:(45, 33) java: package com.cybersource.ws.client does not exist > Error:(46, 33) java: package com.cybersource.ws.client does not exist > Error:(47, 33) java: package com.cybersource.ws.client does not exist > > F:\softwareEngineering\apache-ofbiz-16.11.04\applications\accounting\src\main\java\org\apache\ofbiz\accounting\thirdparty\securepay\SecurePayServiceTest.java > Error:(107, 52) java: cannot find symbol > symbol: variable EntityQuery > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayServiceTest > Error:(154, 60) java: cannot find symbol > symbol: variable EntityQuery > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayServiceTest > Error:(166, 47) java: cannot find symbol > symbol: variable EntityQuery > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayServiceTest > Error:(188, 60) java: cannot find symbol > symbol: variable EntityQuery > location: class > org.apache.ofbiz.accounting.thirdparty.securepay.SecurePayServiceTest > > F:\softwareEngineering\apache-ofbiz-16.11.04\applications\order\src\main\java\org\apache\ofbiz\order\thirdparty\taxware\TaxwareServices.java > Error:(54, 48) java: incompatible types: bad type in conditional expression > com.ibm.icu.math.BigDecimal cannot be converted to java.math.BigDecimal > Error:(61, 20) java: cannot find symbol > symbol: method > > addItem(org.apache.ofbiz.entity.GenericValue,com.ibm.icu.math.BigDecimal,com.ibm.icu.math.BigDecimal) > location: variable utl of type > org.apache.ofbiz.order.thirdparty.taxware.TaxwareUTL > > F:\softwareEngineering\apache-ofbiz-16.11.04\framework\entity\src\main\java\org\apache\ofbiz\entity\condition\EntityCondition.java > Information:java: Some input files use unchecked or unsafe operations. > Information:java: Recompile with -Xlint:unchecked for details. > > What can I do? >
