Which version are you using?
Jacques
Le 13/06/2017 à 18:46, Parminder S. Lehal a écrit :
xxxxx is tld.companyname...The error is about missing ofbiz imports.
Same thing happens with groovy service script too at runtime.
1: unable to resolve class org.ofbiz.entity.GenericEntityException
@ line 1, column 1.
import org.ofbiz.entity.GenericEntityException;
^
-----Original Message-----
Date: Tue, 13 Jun 2017 14:47:24 +0300
Subject: RE: Ofbiz fails to build with a java service created in a
plugin
To: [email protected], [email protected]
From: Taher Alkhateeb <[email protected]>
What's exactly in the "xxxxxxx" and does it match the directory
structure?
-----Original Message-----
From: Parminder S. Lehal [mailto:[email protected]]
Sent: Tuesday, 13 June 2017 2:31 PM
To: user <[email protected]>
Subject: Ofbiz fails to build with a java service created in a plugin
Ofbiz fails to compile with a java service created in a plugin as it
complains about missing symbols on all ofbiz imports.
} catch (GenericEntityException e) {
^
symbol: class GenericEntityException
location: class ExpensesServices
/home/plehal/Downloads/apache-ofbiz-
16.11.02/specialpurpose/expenses/src/main/java/xxxxxxxxxxxxxx/expenses/
services/ExpensesServices.java:30: error: cannot find symbol
Debug.logError(e, module);
^
symbol: variable Debug
location: class ExpensesServices
/home/plehal/Downloads/apache-ofbiz-
16.11.02/specialpurpose/expenses/src/main/java/xxxxxxxxxxxxxxxxxxx/expe
nses/services/ExpensesServices.java:31: error: cannot find symbol
return ServiceUtil.returnError("Error in creating record in
Expenses entity ........" +module);
^
symbol: variable ServiceUtil