You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Paul Robinson <pa...@permeance.com.au> on 2008/07/30 06:39:27 UTC
Revision 680910 not able to build due to java compile error
When running ant run-install the compile is falling over with the
following error:
classes:
[javac15] Compiling 28 source files to
/data/u01/openbiz/apache-base/ofbiz/applications/accounting/build/classes
[javac15]
/data/u01/openbiz/apache-base/ofbiz/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java:1773:
internal error; cannot instantiate
<V,V1,V2,V3>toMap(java.lang.String,V1,java.lang.String,V2,java.lang.String,V3)
at org.ofbiz.base.util.UtilMisc to
(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,double)
[javac15] input = UtilMisc.toMap("invoiceId",
invoiceId, "invoiceItemTypeId", invoiceItemTypeId, "quantity", quantity);
[javac15] ^
[javac15] Note: Some input files use unchecked or unsafe operations.
[javac15] Note: Recompile with -Xlint:unchecked for details.
[javac15] 1 error
Any help would be appreciated, I am not a java guy so I can't fix myself.
Cheers,
Paul
Re: Revision 680910 not able to build due to java compile error
Posted by Jacques Le Roux <ja...@les7arts.com>.
Thanks Hans,
Forget my message please.
Jacques
From: "Hans Bakker" <ma...@antwebsystems.com>
> this error is only showing in java 1.6: fixed in revision 681096.
>
> On Wed, 2008-07-30 at 12:39 +0800, Paul Robinson wrote:
>> When running ant run-install the compile is falling over with the
>> following error:
>>
>> classes:
>> [javac15] Compiling 28 source files to
>> /data/u01/openbiz/apache-base/ofbiz/applications/accounting/build/classes
>> [javac15]
>> /data/u01/openbiz/apache-base/ofbiz/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java:1773:
>> internal error; cannot instantiate
>> <V,V1,V2,V3>toMap(java.lang.String,V1,java.lang.String,V2,java.lang.String,V3)
>> at org.ofbiz.base.util.UtilMisc to
>> (java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,double)
>> [javac15] input = UtilMisc.toMap("invoiceId",
>> invoiceId, "invoiceItemTypeId", invoiceItemTypeId, "quantity", quantity);
>> [javac15] ^
>> [javac15] Note: Some input files use unchecked or unsafe operations.
>> [javac15] Note: Recompile with -Xlint:unchecked for details.
>> [javac15] 1 error
>>
>> Any help would be appreciated, I am not a java guy so I can't fix myself.
>>
>> Cheers,
>> Paul
>
Re: Revision 680910 not able to build due to java compile error
Posted by Hans Bakker <ma...@antwebsystems.com>.
this error is only showing in java 1.6: fixed in revision 681096.
On Wed, 2008-07-30 at 12:39 +0800, Paul Robinson wrote:
> When running ant run-install the compile is falling over with the
> following error:
>
> classes:
> [javac15] Compiling 28 source files to
> /data/u01/openbiz/apache-base/ofbiz/applications/accounting/build/classes
> [javac15]
> /data/u01/openbiz/apache-base/ofbiz/applications/accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java:1773:
> internal error; cannot instantiate
> <V,V1,V2,V3>toMap(java.lang.String,V1,java.lang.String,V2,java.lang.String,V3)
> at org.ofbiz.base.util.UtilMisc to
> (java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,double)
> [javac15] input = UtilMisc.toMap("invoiceId",
> invoiceId, "invoiceItemTypeId", invoiceItemTypeId, "quantity", quantity);
> [javac15] ^
> [javac15] Note: Some input files use unchecked or unsafe operations.
> [javac15] Note: Recompile with -Xlint:unchecked for details.
> [javac15] 1 error
>
> Any help would be appreciated, I am not a java guy so I can't fix myself.
>
> Cheers,
> Paul
Re: Revision 680910 not able to build due to java compile error
Posted by Jacopo Cappellato <ja...@gmail.com>.
It works for me.
Please try:
ant clean
ant
and it should work.
Jacopo
On Jul 30, 2008, at 6:39 AM, Paul Robinson wrote:
> When running ant run-install the compile is falling over with the
> following error:
>
> classes:
> [javac15] Compiling 28 source files to /data/u01/openbiz/apache-base/
> ofbiz/applications/accounting/build/classes
> [javac15] /data/u01/openbiz/apache-base/ofbiz/applications/
> accounting/src/org/ofbiz/accounting/invoice/InvoiceServices.java:
> 1773: internal error; cannot instantiate
> <
> V
> ,V1
> ,V2
> ,V3
> >toMap(java.lang.String,V1,java.lang.String,V2,java.lang.String,V3)
> at org.ofbiz.base.util.UtilMisc to
> (java
> .lang
> .String
> ,java
> .lang
> .String,java.lang.String,java.lang.String,java.lang.String,double)
> [javac15] input = UtilMisc.toMap("invoiceId",
> invoiceId, "invoiceItemTypeId", invoiceItemTypeId, "quantity",
> quantity);
> [javac15] ^
> [javac15] Note: Some input files use unchecked or unsafe operations.
> [javac15] Note: Recompile with -Xlint:unchecked for details.
> [javac15] 1 error
>
> Any help would be appreciated, I am not a java guy so I can't fix
> myself.
>
> Cheers,
> Paul