zy0601 发表于 2019-2-19 10:13:19

接口配置运行JwtRestfulClientDemo报错

java.io.FileNotFoundException: http://127.0.0.1:8099/jeecg/rest/tokens?username=interfaceuser&password=123456
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
    at org.jeecgframework.jwt.util.JwtHttpUtil.httpRequest(JwtHttpUtil.java:134)
    at org.jeecgframework.test.demo.JwtRestfulClientDemo.getToken(JwtRestfulClientDemo.java:17)
    at org.jeecgframework.test.demo.JwtRestfulClientDemo.main(JwtRestfulClientDemo.java:62)
- https request error:{}http://127.0.0.1:8099/jeecg/rest/tokens?username=interfaceuser&password=123456

token :


127.0.0.1:是在redis.properties里配置好的地址
8099:是本机的端口号

zy0601 发表于 2019-2-19 10:27:48

已解决
页: [1]
查看完整版本: 接口配置运行JwtRestfulClientDemo报错