[
https://issues.apache.org/jira/browse/FLINK-36448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kumar Mallikarjuna resolved FLINK-36448.
----------------------------------------
Resolution: Resolved
> Compilation fails in IntelliJ
> -----------------------------
>
> Key: FLINK-36448
> URL: https://issues.apache.org/jira/browse/FLINK-36448
> Project: Flink
> Issue Type: Bug
> Components: API / Core
> Reporter: Kumar Mallikarjuna
> Priority: Major
> Labels: build, build-failure, intellij
> Attachments: image-2024-10-10-21-02-36-758.png
>
>
> I'm unable to build master (as of "c9c946f") with IntelliJ. Compilation and
> tests work just fine when using Maven directly. However building the project
> and running unit tests with IntelliJ fail with the below error:
>
> {code:java}
> /Users/kumarmallikarjuna/Workspace/confluent/flink/flink-core/src/main/java/org/apache/flink/management/jmx/JMXServer.java
> package sun.rmi.registry is not visible
> (package sun.rmi.registry is declared in module java.rmi, which does not
> export it to the unnamed module)
> sun.rmi.registry{code}
> I also tried the "Use '–release' option for cross-compilation" setting in
> IntelliJ but that leads to the same error. I am using JDK11 for compilation.
> cc: [~mapohl]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)