[
https://issues.apache.org/jira/browse/HIVE-28479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kokila N resolved HIVE-28479.
-----------------------------
Fix Version/s: NA
Resolution: Resolved
> Disable removeUnusedImport for jdk-17
> -------------------------------------
>
> Key: HIVE-28479
> URL: https://issues.apache.org/jira/browse/HIVE-28479
> Project: Hive
> Issue Type: Sub-task
> Reporter: Akshat Mathur
> Assignee: Akshat Mathur
> Priority: Major
> Fix For: NA
>
>
> Build is failing with:
>
> [INFO] BUILD FAILURE [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 05:39 min [INFO] Finished at: 2024-08-23T14:44:32+05:30
> [INFO]
> ------------------------------------------------------------------------
> [INFO] 927 goals, 907 executed, 20 from cache, saving at least 1s [ERROR]
> Failed to execute goal
> com.diffplug.spotless:spotless-maven-plugin:2.5.0:check (validate) on project
> patched-iceberg-core: Execution validate of goal
> com.diffplug.spotless:spotless-maven-plugin:2.5.0:check failed:
> java.lang.reflect.InvocationTargetException: class
> com.google.googlejavaformat.java.RemoveUnusedImports (in unnamed module
> @0x7e35168c) cannot access class com.sun.tools.javac.util.Context (in module
> jdk.compiler) because module jdk.compiler does not export
> com.sun.tools.javac.util to unnamed module @0x7e35168c -> [Help 1] [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch. [ERROR] Re-run Maven using the -X switch to enable full debug
> logging. [ERROR] [ERROR] For more information about the errors and possible
> solutions, please read the following articles: [ERROR] [Help 1]
> [http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException]
> [ERROR] [ERROR] After correcting the problems, you can resume the build with
> the command [ERROR] mvn <args> -rf :patched-iceberg-core
--
This message was sent by Atlassian Jira
(v8.20.10#820010)