第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機(jī)立即綁定

這應(yīng)該怎么解決

Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: ognl.OgnlException: source is null for getProperty(null, "showapi_res_body")

at com.imooc.weather.impl.WeatherUtilsImpl.w24h(WeatherUtilsImpl.java:82)

at com.imooc.weather.Application.main(Application.java:22)

Caused by: java.lang.RuntimeException: ognl.OgnlException: source is null for getProperty(null, "showapi_res_body")

at com.imooc.weather.impl.WeatherUtilsImpl.getValue(WeatherUtilsImpl.java:34)

at com.imooc.weather.impl.WeatherUtilsImpl.w24h(WeatherUtilsImpl.java:63)

... 1 more

Caused by: ognl.OgnlException: source is null for getProperty(null, "showapi_res_body")

at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:2410)

at ognl.ASTProperty.getValueBody(ASTProperty.java:114)

at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)

at ognl.SimpleNode.getValue(SimpleNode.java:258)

at ognl.ASTChain.getValueBody(ASTChain.java:141)

at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)

at ognl.SimpleNode.getValue(SimpleNode.java:258)

at ognl.Ognl.getValue(Ognl.java:467)

at ognl.Ognl.getValue(Ognl.java:569)

at ognl.Ognl.getValue(Ognl.java:539)

at com.imooc.weather.impl.WeatherUtilsImpl.getValue(WeatherUtilsImpl.java:31)

... 2 more


正在回答

2 回答

在云市場那邊有多個易源天氣預(yù)報的接口,找到URL跟老師一樣的那個”https://saweather.market.alicloudapi.com“,重新購買就可以了

0 回復(fù) 有任何疑惑可以回復(fù)我~

你的調(diào)試地址輸入錯誤了,新建路徑下的url

.url("https://weather01.market.alicloudapi.com/hour24?area="?+?area)

記得地址填寫在?area=的前面,還有從網(wǎng)頁直接復(fù)制過來的地址要去掉http(s)中的小括號,不然就是非法參數(shù)輸入。

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

weixin_慕村8284156

改成新的地址了依舊報錯
2023-09-17 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消

這應(yīng)該怎么解決

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號