[ 
https://issues.apache.org/jira/browse/FLINK-31045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chesnay Schepler reassigned FLINK-31045:
----------------------------------------

    Assignee: Chesnay Schepler

> 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: Bug
>          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)

Reply via email to