javakiteconnect initial setup or first run

swapnil1982
swapnil1982 edited April 2018 in Java client
@here, I have cloned the java project from GitHub and tried to run the Test.java class file. Program did not run and showed a message box "Editor does not contain a main type" . Please find the attached image for the same.

Could you please look into this and provide the solution ?

Thanks in Advance.


  • sujith
    You need to make sure you have specified two modules of the project in your build settings and modify the configuration of the project to specify Test.java as the main file.
  • swapnil1982
    Thanks Sujith for reply. Actually I tried in different ways but not able to do it. Can you please let me know the steps to specify test.java as main file.

    Thanks.
  • sujith
    Create an empty project with Java 8 SDK, no modules and then import kiteconnect and sample into the project. Go to build settings add kiteconnect dependency to sample module.
    Add dependency for all the /lib directories to kiteconnect modules. Do the same for the sample module.
    Finally, edit the project configuration to point to Test.java file in the sample module and run the project.
  • swapnil1982
    Thanks Sujith for all your help.
Sign In or Register to comment.