{"record":{"id":"5eca2e24a13e5fd8","repo":"apache/flink","slug":"please-ensure-that-flink-datastream-in-your-class","errorCode":null,"errorMessage":"Please ensure that flink-datastream in your class path","messagePattern":"Please ensure that flink-datastream in your class path","errorType":"exception","errorClass":"RuntimeException","httpStatus":null,"severity":"error","filePath":"flink-datastream-api/src/main/java/org/apache/flink/datastream/api/builtin/BuiltinFuncs.java","lineNumber":48,"sourceCode":"import org.apache.flink.datastream.api.function.TwoInputNonBroadcastStreamProcessFunction;\nimport org.apache.flink.datastream.api.function.TwoOutputStreamProcessFunction;\nimport org.apache.flink.datastream.api.stream.KeyedPartitionStream;\nimport org.apache.flink.datastream.api.stream.NonKeyedPartitionStream;\n\n/** Built-in functions for all extension of datastream v2. */\n@Experimental\npublic class BuiltinFuncs {\n\n    // =================== Join ===========================\n\n    static final Class<?> JOIN_FUNCS_INSTANCE;\n\n    static {\n        try {\n            JOIN_FUNCS_INSTANCE =\n                    Class.forName(\"org.apache.flink.datastream.impl.builtin.BuiltinJoinFuncs\");\n        } catch (ClassNotFoundException e) {\n            throw new RuntimeException(\"Please ensure that flink-datastream in your class path\");\n        }\n    }\n\n    /**\n     * Wrap the JoinFunction and INNER JoinType within a ProcessFunction to perform the Join\n     * operation. Note that the wrapped process function should only be used with KeyedStream.\n     */\n    public static <IN1, IN2, OUT> TwoInputNonBroadcastStreamProcessFunction<IN1, IN2, OUT> join(\n            JoinFunction<IN1, IN2, OUT> joinFunction) {\n        return join(joinFunction, JoinType.INNER);\n    }\n\n    /**\n     * Wrap the JoinFunction and JoinType within a ProcessFunction to perform the Join operation.\n     * Note that the wrapped process function should only be used with KeyedStream.\n     */\n    public static <IN1, IN2, OUT> TwoInputNonBroadcastStreamProcessFunction<IN1, IN2, OUT> join(\n            JoinFunction<IN1, IN2, OUT> joinFunction, JoinType joinType) {","sourceCodeStart":30,"sourceCodeEnd":66,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-datastream-api/src/main/java/org/apache/flink/datastream/api/builtin/BuiltinFuncs.java#L30-L66","documentation":"Error \"Please ensure that flink-datastream in your class path\" thrown in apache/flink.","triggerScenarios":"Triggered at runtime when the operation fails because: Please ensure that flink-datastream in your class path.","commonSituations":"Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Please ensure that flink-datastream in your class path.","solutions":["Address the cause reported by the error message: Please ensure that flink-datastream in your class path","Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry."],"exampleFix":"Correct the condition described (\"Please ensure that flink-datastream in your class path\") and rerun the job or command.","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2f3c205e9266cb30240eb7f4fdab15cad629a70f","analyzedAt":"2026-08-14T08:48:24.518Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}