{"record":{"id":"ecc63f0c754596ed","repo":"apache/flink","slug":"please-ensure-that-flink-datastream-in-your-class-ecc63f","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/extension/eventtime/EventTimeExtension.java","lineNumber":270,"sourceCode":"        try {\n            return (TwoInputBroadcastStreamProcessFunction<IN1, IN2, OUT>)\n                    getEventTimeExtensionImplClass()\n                            .getMethod(\n                                    \"wrapProcessFunction\",\n                                    TwoInputBroadcastEventTimeStreamProcessFunction.class)\n                            .invoke(null, processFunction);\n        } catch (Exception e) {\n            throw new RuntimeException(e);\n        }\n    }\n\n    /** Get the implementation class of EventTimeExtension. */\n    private static Class<?> getEventTimeExtensionImplClass() {\n        try {\n            return Class.forName(\n                    \"org.apache.flink.datastream.impl.extension.eventtime.EventTimeExtensionImpl\");\n        } catch (ClassNotFoundException e) {\n            throw new RuntimeException(\"Please ensure that flink-datastream in your class path\");\n        }\n    }\n}\n","sourceCodeStart":252,"sourceCodeEnd":274,"githubUrl":"https://github.com/apache/flink/blob/2f3c205e9266cb30240eb7f4fdab15cad629a70f/flink-datastream-api/src/main/java/org/apache/flink/datastream/api/extension/eventtime/EventTimeExtension.java#L252-L274","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"}