Hi,
I'm trying to install your product in a WINSERVER2003 with jdk1.7.0_01.
The OFBIZ version is apache-ofbiz-10.04
When I'm compiling the project with ANT run-install run there is a error message
classes:
[javac16] Compiling 13 source files to
C:\_portable\PortableApps\apache-ofbiz-10.04\framework\security\build\classes
[javac16] warning: [options] bootstrap class path not set in conjunction with
-source 1.6
[javac16]
C:\_portable\PortableApps\apache-ofbiz-10.04\framework\security\src\org\ofbiz\security\OFBizSecurity.java:52:
error: invalid inferred types for V; inferred type does not conform to
declared bound(s)
[javac16] protected static final Map<String, Map<String, String>>
simpleRoleEntity = UtilMisc.toMap(
[javac16]
^
[javac16] inferred: Map<String,Object>
[javac16] bound(s): Map<String,String>
[javac16] where V,V1,V2,V3 are type-variables:
[javac16] V extends Object declared in method
<V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac16] V1 extends V declared in method
<V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac16] V2 extends V declared in method
<V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac16] V3 extends V declared in method
<V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac16] 1 error
[javac16] 1 warning
Could you help me, please ?
I have tried to reinstall ALL piece but doesn't work ?
Marco
C:\_portable\PortableApps\apache-ofbiz-10.04>ECHO OFF
C:\_portable\PortableApps\apache-ofbiz-10.04>"C:\Program
Files\Java\jdk1.7.0_01\bin\java" -jar framework/base/lib/ant-launcher-1.7.1.jar
-lib framework/base/lib/ant run-install run
Buildfile: build.xml
ofbiz-init:
build:
[echo] [build] ========== Start Building (Compile) ==========
ofbiz-init:
dir-init:
copy-derby-props:
build:
[echo] [build] ========== Start Building Framework (Compile) ==========
init:
prepare:
classes:
jar:
init:
prepare:
gen-src:
classes:
jar:
init:
prepare:
gen-src:
classes:
jar:
init:
prepare:
classes:
jar:
init:
prepare:
classes:
jar:
init:
prepare:
classes:
jar:
init:
prepare:
classes:
jar:
init:
prepare:
classes:
[javac16] Compiling 13 source files to
C:\_portable\PortableApps\apache-ofbiz-10.04\framework\security\build\classes
[javac16] warning: [options] bootstrap class path not set in conjunction with
-source 1.6
[javac16]
C:\_portable\PortableApps\apache-ofbiz-10.04\framework\security\src\org\ofbiz\security\OFBizSecurity.java:52:
error: invalid inferred types for V; inferred type does not conform to
declared bound(s)
[javac16] protected static final Map<String, Map<String, String>>
simpleRoleEntity = UtilMisc.toMap(
[javac16]
^
[javac16] inferred: Map<String,Object>
[javac16] bound(s): Map<String,String>
[javac16] where V,V1,V2,V3 are type-variables:
[javac16] V extends Object declared in method
<V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac16] V1 extends V declared in method
<V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac16] V2 extends V declared in method
<V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac16] V3 extends V declared in method
<V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac16] 1 error
[javac16] 1 warning