The javakiteconnect is a multi-module project. You need to set up both modules properly in the project structure with library dependencies. Make sure to add kiteconnect (module) library dependency to sample module.
In Run configurations, use classpath of module: sample and main is Test.
In Run configurations, use classpath of module: sample and main is Test.