You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project languagetool-core: Compilation failure: Compilation failure:
[ERROR] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java:[84,54] cannot find symbol
[ERROR] symbol: method getVersion()
[ERROR] location: variable OS of type org.languagetool.LtBuildInfo
[ERROR] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java:[92,57] cannot find symbol
[ERROR] symbol: method getBuildDate()
[ERROR] location: variable OS of type org.languagetool.LtBuildInfo
[ERROR] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java:[101,59] cannot find symbol
[ERROR] symbol: method getShortGitId()
[ERROR] location: variable OS of type org.languagetool.LtBuildInfo
[ERROR] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java:[607,20] cannot find symbol
[ERROR] symbol: method isTrustedSource()
[ERROR] location: variable userConfig of type org.languagetool.UserConfig
[ERROR] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java:[911,118] cannot find symbol
[ERROR] symbol: method getRuleMatches()
[ERROR] location: class org.languagetool.CheckResults
[ERROR] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java:[1030,38] cannot find symbol
[ERROR] symbol: method getRuleMatches()
[ERROR] location: variable res of type org.languagetool.CheckResults
[ERROR] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java:[1059,45] cannot find symbol
[ERROR] symbol: method getIgnoredRanges()
[ERROR] location: variable res of type org.languagetool.CheckResults
running on macOS 15.2 (M1 chip) after the following commands:
% cd /tmp
% git clone --depth 5 https://github.com/languagetool-org/languagetool.git
% cd languagetool
% arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
% eval $(/usr/local/bin/brew shellenv)
% arch -x86_64 brew install openjdk
% arch -x86_64 brew install maven
% rehash
% mvn --version
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: /usr/local/Cellar/maven/3.9.9/libexec
Java version: 23.0.1, vendor: Homebrew, runtime: /usr/local/Cellar/openjdk/23.0.1/libexec/openjdk.jdk/Contents/Home
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "15.2", arch: "x86_64", family: "mac"
% java --version
openjdk 23.0.1 2024-10-15
OpenJDK Runtime Environment Homebrew (build 23.0.1)
OpenJDK 64-Bit Server VM Homebrew (build 23.0.1, mixed mode, sharing)
% ./build.sh languagetool-standalone package -DskipTests
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: osx
[INFO] os.detected.arch: x86_64
[INFO] os.detected.bitness: 64
[INFO] os.detected.version: 15.2
[INFO] os.detected.version.major: 15
[INFO] os.detected.version.minor: 2
[INFO] os.detected.classifier: osx-x86_64
...
[INFO] Compiling 338 source files to /private/tmp/languagetool/languagetool-core/target/classes
[INFO] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java: Some input files use or override a deprecated API.
[INFO] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java: Recompile with -Xlint:deprecation for details.
[INFO] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/tools/Tools.java: /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/tools/Tools.java uses or overrides a deprecated API that is marked for removal.
[INFO] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/tools/Tools.java: Recompile with -Xlint:removal for details.
[INFO] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/Language.java: Some input files use unchecked or unsafe operations.
[INFO] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/Language.java: Recompile with -Xlint:unchecked for details.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /private/tmp/languagetool/languagetool-core/src/main/java/org/languagetool/JLanguageTool.java:[84,54] cannot find symbol
symbol: method getVersion()
location: variable OS of type org.languagetool.LtBuildInfo
...
The text was updated successfully, but these errors were encountered:
running on macOS 15.2 (M1 chip) after the following commands:
The text was updated successfully, but these errors were encountered: