[ https://issues.apache.org/jira/browse/FLINK-12837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sahar Jazebi closed FLINK-12837. -------------------------------- Resolution: Invalid Yes, it was due to using different version of flink > MiniClusterResource: java.lang.NoSuchFieldError: BIND_PORT > ----------------------------------------------------------- > > Key: FLINK-12837 > URL: https://issues.apache.org/jira/browse/FLINK-12837 > Project: Flink > Issue Type: Bug > Components: API / DataStream > Affects Versions: 1.8.0 > Reporter: Sahar Jazebi > Priority: Major > > When I run my tests using MiniClusterResource version 1.8 of both > flink.runtime.testutils and flink.util.test, I get the following exception: > {code:java} > java.lang.NoSuchFieldError: BIND_PORT > at > org.apache.flink.runtime.testutils.MiniClusterResource.startMiniCluster(MiniClusterResource.java:130) > at > org.apache.flink.runtime.testutils.MiniClusterResource.before(MiniClusterResource.java:84) > at > org.apache.flink.test.util.MiniClusterWithClientResource.before(MiniClusterWithClientResource.java:51) > {code} > The source code shows the PORT was changed to BIND_PORT in commit > 730eed71ef3f718d61f85d5e94b1060844ca56db. > Thank you -- This message was sent by Atlassian JIRA (v7.6.3#76005)