问答详情
源自:2-3 access_token的获取(下)

调试access token 出问题

 net.sf.json.JSONException: JSONObject["access_token"] not found.

提问者:慕娘3532416 2016-10-19 16:42

个回答

  • 到处跑
    2018-11-20 13:34:25

    检查一下IP地址是不是在IP白名单里

  • 恶汉模式
    2016-10-23 11:42:36

    <!-- json-lib -->

    <dependency>

       <groupId>net.sf.json-lib</groupId>

       <artifactId>json-lib</artifactId>

       <version>2.3</version>

       <classifier>jdk15</classifier>

    </dependency>

    <dependency>

       <groupId>commons-beanutils</groupId>

       <artifactId>commons-beanutils</artifactId>

       <version>1.9.2</version>

    </dependency>

    <dependency>

       <groupId>commons-collections</groupId>

       <artifactId>commons-collections</artifactId>

       <version>3.2.2</version>

    </dependency>

    <dependency>

       <groupId>commons-lang</groupId>

       <artifactId>commons-lang</artifactId>

       <version>2.5</version>

    </dependency>

    <dependency>

       <groupId>commons-logging</groupId>

       <artifactId>commons-logging</artifactId>

       <version>1.0.4</version>

    </dependency>

    <dependency>

       <groupId>net.sf.ezmorph</groupId>

       <artifactId>ezmorph</artifactId>

       <version>1.0.6</version>

    </dependency>

    <dependency>

       <groupId>org.apache.httpcomponents</groupId>

       <artifactId>httpclient</artifactId>

       <version>4.2.5</version>

    </dependency>

    <dependency>

       <groupId>org.apache.httpcomponents</groupId>

       <artifactId>httpcore</artifactId>

       <version>4.2.4</version>

    </dependency>