Hi all, I am newbie to apache flink. Was trying t...
# troubleshooting
s
Hi all, I am newbie to apache flink. Was trying to setup a flink-runtime for checking out Stateful functions. Was referring to the playground in our to complete coding. After completion, I am trying to run the flink-runtime in local but getting the following exception:
Copy code
log4j:WARN No appenders could be found for logger (org.flink.statefunc.entrypoint.LocalEnvEntrypoint).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Exception in thread "main" java.lang.NoSuchMethodError: 'java.lang.Object org.apache.flink.util.InstantiationUtil.deserializeObject(byte[], java.lang.ClassLoader, boolean)'
	at org.apache.flink.statefun.flink.core.StatefulFunctionsConfig.getProvider(StatefulFunctionsConfig.java:268)
	at org.apache.flink.statefun.flink.core.StatefulFunctionsUniverses.get(StatefulFunctionsUniverses.java:30)
	at org.apache.flink.statefun.flink.core.StatefulFunctionsJob.main(StatefulFunctionsJob.java:72)
	at org.flink.statefunc.entrypoint.LocalEnvEntrypoint.main(LocalEnvEntrypoint.java:32)
Can someone help me figure this issue out ? Let me know if anything else is required. Note: • I am using
1.19.0
version of flink with
3.3.0
version of statefun-core • I understand that there might be some version discrepancy leading to this error. But I am unable to understand which version is causing the problem.
Resolved this. Used
1.16.2
apache-flink version.