Is doing local development with Kafka possible? Wh...
# troubleshooting
d
Is doing local development with Kafka possible? When I have the flink dependencies in my pom marked as provided I get this runtime error:
Caused by: java.lang.NoClassDefFoundError: org/apache/flink/api/common/serialization/DeserializationSchema
When I change the flink deps as a normal scope I get further, but get this runtime error:
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.lang.Object[] java.util.Arrays$ArrayList.a accessible: module java.base does not "opens java.util" to unnamed module @6366ebe0
I was able to get around the issue
To run locally and debug in intellij:
Copy code
Debug config -> edit config

Modify Options drop down: Add dependencies with "provided" scope to classpath
Add VM Options to side step JRE security: `--add-opens java.base/java.util=ALL-UNNAMED`