From notifications-return-16678-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Tue Feb 20 17:05:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1FAE618076D for ; Tue, 20 Feb 2018 17:05:04 +0100 (CET) Received: (qmail 91646 invoked by uid 500); 20 Feb 2018 16:05:04 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 91637 invoked by uid 99); 20 Feb 2018 16:05:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Feb 2018 16:05:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 873A6C01E3 for ; Tue, 20 Feb 2018 16:05:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 4QElHxK85GcE for ; Tue, 20 Feb 2018 16:05:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7FF625F121 for ; Tue, 20 Feb 2018 16:05:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BCB0BE012D for ; Tue, 20 Feb 2018 16:05:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 78DC521E5B for ; Tue, 20 Feb 2018 16:05:00 +0000 (UTC) Date: Tue, 20 Feb 2018 16:05:00 +0000 (UTC) From: "Asil (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OFBIZ-10228) Build Failed Apache OFBiz with Build failed with an exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OFBIZ-10228?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D163= 70187#comment-16370187 ]=20 Asil commented on OFBIZ-10228: ------------------------------ It didn't help. Still same errors. There is something wrong with Lucene. > Build Failed Apache OFBiz with Build failed with an exception > ------------------------------------------------------------- > > Key: OFBIZ-10228 > URL: https://issues.apache.org/jira/browse/OFBIZ-10228 > Project: OFBiz > Issue Type: Bug > Affects Versions: 16.11.04 > Reporter: Asil > Priority: Major > Attachments: Screen Shot 2018-02-20 at 12.30.24.png > > > I tried to install and run OFBiz on MacOs High Sierra. I installed Gradle= 4.5.1 and Java 1.8. I followed the official tutorial. When I tried to buil= d and start OFBiz using=C2=A0./gradlew cleanAll loadDefault ofbiz, the foll= owing error occurred. > [...]/ofbiz.16.11/specialpurpose/lucene/src/main/java/org/apache/ofbiz/co= ntent/search/SearchWorker.java:44: error: cannot find symbol > =C2=A0 =C2=A0 private static final Version LUCENE_VERSION =3D Version.LUC= ENE_5_3_1; > =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^ > =C2=A0 symbol: =C2=A0 variable LUCENE_5_3_1 > =C2=A0 location: class Version > =C2=A0 > [...]/ofbiz.16.11/specialpurpose/lucene/src/main/java/org/apache/ofbiz/co= ntent/search/ProductDocument.java:302: error: cannot find symbol > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 field.setBoost(weight); > =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^ > =C2=A0 symbol: =C2=A0 method setBoost(float) > =C2=A0 location: variable field of type Field > Note: Some input files use unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > 2 errors > :compileJava {color:#8eb021}FAILED{color} > =C2=A0 > {color:#d04437}FAILURE: Build failed with an exception.{color} > * What went wrong: > Execution failed for task ':compileJava'. > > Compilation failed; see the compiler error output for details. > =C2=A0 > * Try: > Run with *--stacktrace* option to get the stack trace. Run with *--info* = or *--debug* option to get more log output. > =C2=A0 > {color:#d04437}BUILD FAILED{color} -- This message was sent by Atlassian JIRA (v7.6.3#76005)