Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
16.11.04
-
None
-
None
-
None
Description
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 build and start OFBiz using ./gradlew cleanAll loadDefault ofbiz, the following error occurred.
[...]/ofbiz.16.11/specialpurpose/lucene/src/main/java/org/apache/ofbiz/content/search/SearchWorker.java:44: error: cannot find symbol
private static final Version LUCENE_VERSION = Version.LUCENE_5_3_1;
^
symbol: variable LUCENE_5_3_1
location: class Version
[...]/ofbiz.16.11/specialpurpose/lucene/src/main/java/org/apache/ofbiz/content/search/ProductDocument.java:302: error: cannot find symbol
field.setBoost(weight);
^
symbol: method setBoost(float)
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 FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
- Try:
Run with -stacktrace option to get the stack trace. Run with info or -debug option to get more log output.
BUILD FAILED