Error while trying to generate session


  • @mihirk - I have added all the dependencies and existing errors got cleared.

    Any idea about the below errors ?
    void is an invalid type for the variable placeOrder
    Syntax error on token "throws", implements expected
    Syntax error on token ".", { expected

    @admin - can you please confirm migration of A373387 as well ?

    b4b40753-b3f2-4cd6-b9e1-685d58e96743-image.png


  • @mihirk Thank you!


  • @skumar12 said in Error while trying to generate session:

    okhttp3

    I too faced this issue, I used following dependencies to resolve it :

    <classpathentry kind="lib" path="lib/commons-cli-1.4.jar"/>
    	<classpathentry kind="lib" path="lib/commons-codec-1.13.jar"/>
    	<classpathentry kind="lib" path="lib/httpclient5-5.0.3.jar"/>
    	<classpathentry kind="lib" path="lib/httpclient5-cache-5.0.3.jar"/>
    	<classpathentry kind="lib" path="lib/httpclient5-fluent-5.0.3.jar"/>
    	<classpathentry kind="lib" path="lib/httpclient5-testing-5.0.3.jar"/>
    	<classpathentry kind="lib" path="lib/httpclient5-win-5.0.3.jar"/>
    	<classpathentry kind="lib" path="lib/httpcore5-5.0.2.jar"/>
    	<classpathentry kind="lib" path="lib/httpcore5-h2-5.0.2.jar"/>
    	<classpathentry kind="lib" path="lib/httpcore5-reactive-5.0.2.jar"/>
    	<classpathentry kind="lib" path="lib/httpcore5-testing-5.0.2.jar"/>
    	<classpathentry kind="lib" path="lib/jna-5.2.0.jar"/>
    	<classpathentry kind="lib" path="lib/jna-platform-5.2.0.jar"/>
    	<classpathentry kind="lib" path="lib/reactive-streams-1.0.2.jar"/>
    	<classpathentry kind="lib" path="lib/rxjava-2.2.8.jar"/>
    	<classpathentry kind="lib" path="lib/slf4j-api-1.7.25.jar"/>
    	<classpathentry kind="lib" path="lib/json-simple-1.1.1.jar"/>
    	<classpathentry kind="lib" path="lib/jsoup-1.13.1.jar"/>
    	<classpathentry kind="lib" path="lib/poi-4.1.2.jar"/>
    	<classpathentry kind="lib" path="lib/poi-ooxml-4.1.2.jar"/>
    	<classpathentry kind="lib" path="lib/poi-ooxml-schemas-4.1.2.jar"/>
    	<classpathentry kind="lib" path="lib/xmlbeans-3.1.0.jar"/>
    	<classpathentry kind="lib" path="lib/commons-collections4-4.4.jar"/>
    	<classpathentry kind="lib" path="lib/commons-compress-1.19.jar"/>
    	<classpathentry kind="lib" path="lib/commons-math3-3.6.1.jar"/>
    	<classpathentry kind="lib" path="lib/log4j-1.2.17.jar"/>
    	<classpathentry kind="lib" path="lib/smartapi-java-1.0.0.jar"/>
    	<classpathentry kind="lib" path="lib/java-json.jar"/>
    	<classpathentry kind="lib" path="lib/slf4j-simple-1.7.9.jar"/>
    	<classpathentry kind="lib" path="lib/Java-WebSocket-1.5.1.jar"/>
    	<classpathentry kind="lib" path="lib/okhttp-4.9.0.jar"/>
    	<classpathentry kind="lib" path="lib/kotlin-stdlib-1.4.20.jar"/>
    	<classpathentry kind="lib" path="lib/okio-2.9.0.jar"/>
    	<classpathentry kind="lib" path="lib/logging-interceptor-4.9.0.jar"/>
    	<classpathentry kind="lib" path="lib/gson-2.8.6.jar"/>
    

  • Yep. I am looking for Java


  • @rjbanna

    Im sorry for the oversight. Yes you are right..


  • @rajanprabu I think some of them are available only for Python. He is asking for Java SDK if I'm not wrong.


  • @Annamalai

    service_identity
    requests
    six
    pyOpenSSL
    enum34
    python-dateutil
    autobahn
    Twisted


  • @Annamalai said in Error while trying to generate session:

    @skumar12 Can you please provide the list of all dependencies required + links to download? I am having similar issue

    @admin - Please advise.


  • @skumar12 Can you please provide the list of all dependencies required + links to download? I am having similar issue


  • @skumar12: Resolved. Need to import all the dependencies for Smartapi.. not included in the dependencies jar.