Details
-
Technical Debt
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.18.0
Description
When trying to build/run some tests in the IDE, IntelliJ is reporting the following compilation failure:
/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
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:
<!--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.-->
Attachments
Issue Links
- links to