接口配置运行JwtRestfulClientDemo报错
java.io.FileNotFoundException: http://127.0.0.1:8099/jeecg/rest/tokens?username=interfaceuser&password=123456at 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:是本机的端口号
已解决
页:
[1]