It works!
Thank you very much Tirtha Rahaman. Best regards, Alexey Gorbachev. -------- Original message -------- От кого: Tirtha Rahaman <[hidden email]> Кому: [hidden email] Дата: Вторник, 14 апреля 2015, 9:49 +05:30 Тема: Re: Errors compiling ofbiz 13.07 under debian 7 Add widget jars in the classpath of order, party, product & workeffort. Add the below line <fileset dir="../../framework/widget/build/lib" includes="*.jar"/> in build.xml of order, party, product & workeffort under applications directory. On Tue, Apr 14, 2015 at 1:28 AM, Alexey Gorbachev < [hidden email] > wrote: > Hi, everybody! > I downloaded release ofbiz 13.07 as zip archieve from apache site, then > compiled it under windows 7 (and also with win server 2008 R2) with jdk8 > and ant 1.9.4. Everything is OK. > Then I need to compile ofbiz under debian 7.8. I tried to do this also > with jdk8 and ant 1.9.4, but got errors. > Could you help me? > This is log. > root@debian:/opt/ofbiz/apache-ofbiz-13.07.01# ./ant > Buildfile: /opt/ofbiz/apache-ofbiz-13.07.01/build.xml > > dir-init: > > copy-derby-props: > > ofbiz-init: > > build: > [echo] [build] ========== Start Building (Compile) ========== > > build-framework: > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/start/build/lib/ofbiz.jar > [copy] Copying 1 file to /opt/ofbiz/apache-ofbiz-13.07.01 > > init: > > prepare: > > gen-src: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/base/build/lib/ofbiz-base.jar > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/base/build/lib/ofbiz-base-test.jar > > init: > > prepare: > > gen-src: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/sql/build/lib/ofbiz-sql.jar > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/sql/build/lib/ofbiz-sql-test.jar > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/entity/build/lib/ofbiz-entity.jar > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/entity/build/lib/ofbiz-entity-test.jar > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/geronimo/build/lib/ofbiz-geronimo.jar > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/catalina/build/lib/ofbiz-catalina.jar > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/security/build/lib/ofbiz-security.jar > > init: > > prepare: > > classes: > > stubs: > > main-jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/service/build/lib/ofbiz-service.jar > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/service/build/lib/ofbiz-service-test.jar > > rmi-jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/service/build/rmi/ofbiz-service-rmi.jar > > jar: > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/entityext/build/lib/ofbiz-entityext.jar > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/bi/build/lib/ofbiz-bi.jar > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/minilang/build/lib/ofbiz-minilang.jar > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/minilang/build/lib/ofbiz-minilang-test.jar > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/webapp/build/lib/ofbiz-webapp.jar > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/webapp/build/lib/ofbiz-webapp-test.jar > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/widget/build/lib/ofbiz-widget.jar > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/common/build/lib/ofbiz-common.jar > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/datafile/build/lib/ofbiz-datafile.jar > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/testtools/build/lib/ofbiz-testtools.jar > > init: > > prepare: > > classes: > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/framework/webtools/build/lib/ofbiz-webtools.jar > > build-applications: > > init: > > prepare: > > classes: > [javac16] Compiling 1 source file to > /opt/ofbiz/apache-ofbiz-13.07.01/applications/content/build/classes > [javac16] warning: [options] bootstrap class path not set in conjunction > with -source 1.6 > > jar: > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/applications/content/build/lib/ofbiz-content.jar > [jar] Building jar: > /opt/ofbiz/apache-ofbiz-13.07.01/applications/content/build/lib/ofbiz-content-test.jar > > init: > > prepare: > > classes: > [javac16] Compiling 11 source files to > /opt/ofbiz/apache-ofbiz-13.07.01/applications/party/build/classes > [javac16] warning: [options] bootstrap class path not set in conjunction > with -source 1.6 > [javac16] > /opt/ofbiz/apache-ofbiz-13.07.01/applications/party/src/org/ofbiz/party/communication/CommunicationEventServices.java:139: > error: cannot access DataResourceWorkerInterface > [javac16] ByteBuffer dataContent = > DataResourceWorker.getContentAsByteBuffer(delegator, > dataResource.getString("dataResourceId"), null, null, locale, null); > [javac16] > ^ > [javac16] class file for org.ofbiz.widget.DataResourceWorkerInterface > not found > [javac16] > /opt/ofbiz/apache-ofbiz-13.07.01/applications/party/src/org/ofbiz/party/content/PartyContentWrapper.java:229: > error: cannot access ContentWorkerInterface > [javac16] ContentWorker.renderContentAsText(dispatcher, > delegator, partyContent.getString("contentId"), outWriter, inContext, > locale, mimeTypeId, null, null, false); > [javac16] ^ > [javac16] class file for org.ofbiz.widget.ContentWorkerInterface not > found > [javac16] 2 errors > > BUILD FAILED > /opt/ofbiz/apache-ofbiz-13.07.01/build.xml:229: The following error > occurred while executing this line: > /opt/ofbiz/apache-ofbiz-13.07.01/build.xml:248: The following error > occurred while executing this line: > /opt/ofbiz/apache-ofbiz-13.07.01/macros.xml:39: The following error > occurred while executing this line: > /opt/ofbiz/apache-ofbiz-13.07.01/common.xml:91: Compile failed; see the > compiler error output for details. > > Total time: 6 seconds > > > > -- > Best regards, Alexey Gorbachev. > -- Warm regards, Tirtha Rahaman ---------------------------------------------------------------------- |
Free forum by Nabble | Edit this page |