728x90
[오류해결]
단순하게 http:// 가 빠져있기 때문에 이런 오류가 발생한다.
호출하려는 URI 앞에 http:// 를 붙여주면 오류가 해결 된다.
api.get("api.openweathermap.org/");
api.get("http://api.openweathermap.org/");
URI (x)
http:// + URI (O)
'error' 카테고리의 다른 글
[ERROR] TNS:listener does not currently know of SID given in connect descriptor (0) | 2022.12.08 |
---|---|
[ERROR] java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException (0) | 2022.12.07 |
[ERROR] class, interface, or enum expected (0) | 2022.12.06 |
[ERROR] error Command "react-scripts" not found. (0) | 2022.12.05 |
[HTTP ERROR 400] 티스토리 400 에러 (0) | 2022.12.02 |