ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Smits <pierre.sm...@gmail.com>
Subject Re: New to Ofbiz and Ofbiz POS
Date Sat, 15 Nov 2014 11:24:46 GMT
Hi Mandeep,

These error occur due to the fact that it relies on the EntityQuery function in a framework
component that is not included in the 13.07.01 release.

Regards,

Pierre

Verstuurd vanaf mijn iPad

> Op 15 nov. 2014 om 07:32 heeft mandeepmavi <mandeepmavi@yahoo.com> het volgende
geschreven:
> 
> Jacques below is error getting if using new release
> 
> 
> build:
>     [echo] [build] ========== Start Building (Compile) ==========
> 
> build-framework:
> 
> 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:
> 
> stubs:
> 
> main-jar:
> 
> rmi-jar:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> build-applications:
> 
> init:
> 
> prepare:
> 
> classes:
>  [javac16] Compiling 1 source file to
> c:\hw\applications\content\build\classes
>  [javac16] warning: [options] bootstrap class path not set in conjunction
> with
> -source 1.6
>  [javac16] 1 warning
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> build-specialpurpose:
> 
> init:
> 
> prepare:
> 
> classes:
> 
> jar:
> 
> init:
> 
> prepare:
> 
> classes:
>  [javac16] Compiling 62 source files to
> c:\hw\specialpurpose\pos\build\classes
>  [javac16] warning: [options] bootstrap class path not set in conjunction
> with
> -source 1.6
>  [javac16]
> c:\hw\specialpurpose\pos\src\org\ofbiz\pos\PosTransaction.java:59: e
> rror: cannot find symbol
>  [javac16] import org.ofbiz.entity.util.EntityQuery;
>  [javac16]                             ^
>  [javac16]   symbol:   class EntityQuery
>  [javac16]   location: package org.ofbiz.entity.util
>  [javac16]
> c:\hw\specialpurpose\pos\src\org\ofbiz\pos\PosTransaction.java:59: e
> rror: cannot find symbol
>  [javac16] import org.ofbiz.entity.util.EntityQuery;
>  [javac16]                             ^
>  [javac16]   symbol:   class EntityQuery
>  [javac16]   location: package org.ofbiz.entity.util
>  [javac16]
> c:\hw\specialpurpose\pos\src\org\ofbiz\pos\PosTransaction.java:437:
> error: cannot find symbol
>  [javac16]             product =
> EntityQuery.use(delegator).from("Product").whe
> re("productId", productId).cache().queryOne();
>  [javac16]                       ^
>  [javac16]   symbol:   variable EntityQuery
>  [javac16]   location: class PosTransaction
>  [javac16]
> c:\hw\specialpurpose\pos\src\org\ofbiz\pos\PosTransaction.java:496:
> error: cannot find symbol
>  [javac16]             product =
> EntityQuery.use(delegator).from("Product").whe
> re("productId", productId).cache().queryOne();
>  [javac16]                       ^
>  [javac16]   symbol:   variable EntityQuery
>  [javac16]   location: class PosTransaction
>  [javac16]
> c:\hw\specialpurpose\pos\src\org\ofbiz\pos\config\ButtonEventConfig.
> java:55: warning: [deprecation] getXmlRootElement(String) in ResourceLoader
> has
> been deprecated
>  [javac16]         Element root =
> ResourceLoader.getXmlRootElement(ButtonEventC
> onfig.BUTTON_EVENT_CONFIG);
>  [javac16]                                      ^
>  [javac16] Note: Some input files use unchecked or unsafe operations.
>  [javac16] Note: Recompile with -Xlint:unchecked for details.
>  [javac16] 3 errors
>  [javac16] 2 warnings
> 
> BUILD FAILED
> c:\hw\build.xml:230: The following error occurred while executing this line:
> c:\hw\build.xml:252: The following error occurred while executing this line:
> c:\hw\macros.xml:39: The following error occurred while executing this line:
> c:\hw\common.xml:91: Compile failed; see the compiler error output for
> details.
> 
> Total time: 13 seconds
> 
> 
> 
> 
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/New-to-Ofbiz-and-Ofbiz-POS-tp4647653p4658337.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.

Mime
View raw message