Description
I tried to compile the currently released library with JDK-21 and JDK-23, but I got the following error.
It seems to be a problem with some of the source code, so I would appreciate some advice.
(The error message contained Japanese text, so this is a translation of the Japanese text into English.)
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------< org.gogpsproject:goGPS-core >--------------------
[INFO] Building goGPS java 1.1.0
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]--------------------------------
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ goGPS-core ---
[INFO] Copying 0 resource from src\main\java to target\classes
[INFO] Copying 1 resource from src\main\resources to target\classes
[INFO]
[INFO] --- compiler:3.9.0:compile (default-compile) @ goGPS-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 129 source files to D:\goGPS_Java-master\target\classes
[INFO] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/conversion/UBXToRinex.java: Some input files use or override deprecated APIs.
[INFO] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/conversion/UBXToRinex.java: Recompile with -Xlint:deprecation for more information.
[INFO] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/parser/rtcm3/RTCM3Client.java: Some input files use or override deprecated APIs that have been marked for removal.
[INFO] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/parser/rtcm3/RTCM3Client.java: For more information, recompile with the -Xlint:removal option.
[INFO] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/rinex/RinexV3Producer.java: Some input file operations are unchecked or unsafe.
[INFO] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/rinex/RinexV3Producer.java: For more information, recompile with the -Xlint:unchecked option.
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/parser/rinex/RinexNavigation.java:[435,27] Symbol not found
Symbol: Class RinexNavigationParserGlonass
Location: Class org.gogpsproject.producer.parser.rinex.RinexNavigation
[ERROR] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/parser/rinex/RinexNavigationSpeed.java:[27,35] Method getRNPByTimestamp of class org.gogpsproject.producer.parser.rinex.RinexNavigation is not applicable to the specified type.
Expected value: long,char
Found value: long
Reason: The length of the actual argument list and the formal argument list are different
[ERROR] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/parser/rinex/RinexNavigationSpeed.java:[39,14] Method put of class org.gogpsproject.producer.parser.rinex.RinexNavigation cannot be applied to the specified type.
Expected value: long,org.gogpsproject.producer.parser.rinex.RinexNavigationParser,char
Found value: long,org.gogpsproject.producer.parser.rinex.RinexNavigationParser
Reason: The lengths of the actual and formal argument lists are different
[ERROR] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/parser/nvs/NVSFileReader.java:[50,8] org.gogpsproject.producer.parser.nvs.NVSFileReader is not abstract and does not override the abstract method getIono(long) in org.gogpsproject.producer.NavigationProducer
[ERROR] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/parser/nvs/NVSFileReader.java:[197,9] Method does not override or implement a method in a supertype
[INFO] 5 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.803 s
[INFO] Finished at: 2025-03-07T17:43:59+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile (default-compile) on project
goGPS-core: Compilation failure: Compilation failure:
[ERROR] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/parser/rinex/RinexNavigation.java:[435,27] Symbol not found
[ERROR] Symbol: Class RinexNavigationParserGlonass
[ERROR] Location: Class org.gogpsproject.producer.parser.rinex.RinexNavigation
[ERROR] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/parser/rinex/RinexNavigationSpeed.java:[27,35] Method getRNPByTimestamp of class org.gogpsproject.producer.parser.rinex.RinexNavigation is not applicable to the specified type.
[ERROR] Expected value: long,char
[ERROR] Found value: long
[ERROR] Reason: The length of the actual argument list and the formal argument list are different
[ERROR] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/parser/rinex/RinexNavigationSpeed.java:[39,14] The method put in class org.gogpsproject.producer.parser.rinex.RinexNavigation cannot be applied to the specified type.
[ERROR] Expected value: long,org.gogpsproject.producer.parser.rinex.RinexNavigationParser,char
[ERROR] Found value: long,org.gogpsproject.producer.parser.rinex.RinexNavigationParser
[ERROR] Reason: The length of the actual argument list and the formal argument list are different
[ERROR] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/parser/nvs/NVSFileReader.java:[50,8] org.gogpsproject.producer.parser.nvs.NVSFileReader is not abstract and does not override the abstract method getIono(long) in org.gogpsproject.producer.NavigationProducer
[ERROR] /D:/goGPS_Java-master/src/main/java/org/gogpsproject/producer/parser/nvs/NVSFileReader.java:[197,9] Method does not override or implement a method in a supertype
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven