Can anyone please suggest what dependency I may be...
# troubleshooting
p
Can anyone please suggest what dependency I may be missing
f
Looks like you missing the
flink-table-planner-loader
Check this official guide related to dependencies
p
Thanks Flaviu , I have that dependency added . In one project it's working fine with the dependencies I have ..Created a clone of the project in intellij with exact same dependency and it's not working in the cloned project even though the dependencies are exactly same.
f
Check if the dependency is marked as provided If this is the case, you should configure IntelliJ using this solution
p
Thanks for the suggestion , its already in provided scope , shall I change it ?
f
No, you should keep it as provided Flink already has this dependency when you deploy it as a cluster
p
ok , thanks ..I believe this issue somehow related to Intellij IDE , I have switched to eclipse and so far haven't faced it
πŸ‘ 1
Here is the solution for Intellij , we have to select the java file -> edit Run configuration -> modify options -> Add dependencies with provided access to the classpath
Initially was checking the provided access in pom file but that's not enough