Error while trying to generate session


  • @rjbanna

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


  • Yep. I am looking for Java


  • @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"/>
    

  • @mihirk Thank you!


  • @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


  • @Annamalai Not sure about this error. Please check if there is some update regarding SmartAPI jar.


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

    A373387
    We have noticed your errors we will contact you for further assistance.


  • @admin any resolution for this?


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

    @admin any resolution for this?

    Mail us your piece of code @ api@angelbroking.com we will review it.And update you.


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

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

    Please let us know the status of your issue.