I suspected it was something local to my computer, since there is nobody
complaining.
It was. I am using Ubuntu and the default java environment is OpenJDK. I
changed to the regular sun java and now it is building fine.

Thanks

Raul

Raul Sieberath wrote:
> Below are the errors I get when I try to build ofbiz. It happens in
> trunk (several versions, I have been trying it for the last 7 days.) I
> also happen with the nightly builds.
>
> I am able to run ofbiz with ./startofbiz.sh. So, now I am following
> https://demo.ofbiz.org/cmssite/cms/APACHE_OFBIZ_HTML#N20096 and I am
> getting stuck on step 4. I have also been following the list lately and
> no mention to this problem was posted. 
>
> Any pointers are welcome.
>
> Thanks
>
> Raul
>
> I am getting the error below when I ran the following command:
> ofbiz-trunk-v826613$ ant run-install-extseed
>
>                                 classes:
>                                   [javac15] Compiling 24 source files
>                                 to 
> /home/ofbiz-user/Projects/ofbiz/ofbiz-trunk-v826613/applications/accounting/build/classes
>                                 
>                                 [javac15] 
> /home/ofbiz-user/Projects/ofbiz/ofbiz-trunk-v826613/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java:1023:
>  cannot find symbol
>                                   [javac15] symbol  : method
>                                 
> add(java.util.Map<java.lang.String,java.lang.Object>)
>                                   [javac15] location: interface
>                                 
> java.util.List<java.util.Map<java.lang.String,java.lang.String>>
>                                   [javac15]
>                                 
> invoicesCreated.add(UtilMisc.toMap("commissionInvoiceId",invoiceId, 
> "salesRepresentative ",partyIdBillFrom));
>                                   [javac15]                            ^
>                                   [javac15] Note: Some input files use
>                                 unchecked or unsafe operations.
>                                   [javac15] Note: Recompile with
>                                 -Xlint:unchecked for details.
>                                   [javac15] 1 error
>                                 
>                                 BUILD FAILED
>                                 
> /home/ofbiz-user/Projects/ofbiz/ofbiz-trunk-v826613/build.xml:158: The 
> following error occurred while executing this line:
>                                 
> /home/ofbiz-user/Projects/ofbiz/ofbiz-trunk-v826613/applications/build.xml:67:
>  The following error occurred while executing this line:
>                                 
> /home/ofbiz-user/Projects/ofbiz/ofbiz-trunk-v826613/macros.xml:27: The 
> following error occurred while executing this line:
>                                 
> /home/ofbiz-user/Projects/ofbiz/ofbiz-trunk-v826613/applications/accounting/build.xml:59:
>  Compile failed; see the compiler error output for details.
>
>
> and I get the error below running ant with no parameters on trunk
>                                 
>                                 prepare:
>                                 
>                                 classes:
>                                   [javac15] Compiling 24 source files
>                                 to 
> /home/ofbiz-user/Projects/ofbiz/trunk/applications/accounting/build/classes
>                                 
>                                 [javac15] 
> /home/ofbiz-user/Projects/ofbiz/trunk/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java:1023:
>  cannot find symbol
>                                   [javac15] symbol  : method
>                                 
> add(java.util.Map<java.lang.String,java.lang.Object>)
>                                   [javac15] location: interface
>                                 
> java.util.List<java.util.Map<java.lang.String,java.lang.String>>
>                                   [javac15]
>                                 
> invoicesCreated.add(UtilMisc.toMap("commissionInvoiceId",invoiceId, 
> "salesRepresentative ",partyIdBillFrom));
>                                   [javac15]                            ^
>                                   [javac15] Note: Some input files use
>                                 unchecked or unsafe operations.
>                                   [javac15] Note: Recompile with
>                                 -Xlint:unchecked for details.
>                                   [javac15] 1 error
>                                 
>                                 BUILD FAILED
>                                 
> /home/ofbiz-user/Projects/ofbiz/trunk/build.xml:158: The following error 
> occurred while executing this line:
>                                 
> /home/ofbiz-user/Projects/ofbiz/trunk/applications/build.xml:67: The 
> following error occurred while executing this line:
>                                 
> /home/ofbiz-user/Projects/ofbiz/trunk/macros.xml:27: The following error 
> occurred while executing this line:
>                                 
> /home/ofbiz-user/Projects/ofbiz/trunk/applications/accounting/build.xml:59: 
> Compile failed; see the compiler error output for details.
>                                 
>
>
>   

Reply via email to