You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2023/02/16 15:35:00 UTC
[jira] [Updated] (FLINK-31045) In IntelliJ: flink-clients cannot find symbol symbol: class TestUserClassLoaderJobLib
[ https://issues.apache.org/jira/browse/FLINK-31045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chesnay Schepler updated FLINK-31045:
-------------------------------------
Issue Type: Technical Debt (was: Bug)
> In IntelliJ: flink-clients cannot find symbol symbol: class TestUserClassLoaderJobLib
> -------------------------------------------------------------------------------------
>
> Key: FLINK-31045
> URL: https://issues.apache.org/jira/browse/FLINK-31045
> Project: Flink
> Issue Type: Technical Debt
> Components: Build System, Client / Job Submission
> Affects Versions: 1.18.0
> Reporter: Piotr Nowojski
> Assignee: Chesnay Schepler
> Priority: Major
>
> When trying to build/run some tests in the IDE, IntelliJ is reporting the following compilation failure:
> {noformat}
> /XXX/flink/flink-clients/src/test/java/org/apache/flink/client/testjar/TestUserClassLoaderJob.java:33:38
> java: cannot find symbol
> symbol: class TestUserClassLoaderJobLib
> location: class org.apache.flink.client.testjar.TestUserClassLoaderJob
> {noformat}
> A workaround seems to be to:
> # right click on {{flink-clients}}
> # Rebuild module (flink-clients)
> The issue is probably related to the comment from the flink-clients/pom.xml file:
> {noformat}
> <!--Remove the external jar test code from the test-classes directory since it mustn't be in the
> classpath when running the tests to actually test whether the user code class loader
> is properly used.-->
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)