1. 程式人生 > >出現問題集及解決方案

出現問題集及解決方案

pan class parameter tex href pcl 通過 value log

出現 host parameter is null 錯誤,是代表在使用httpclient執行請求的時候,host地址參數有錯誤造成,

原因:1,URL地址記得加上:HTTP://

2,[email protected],但是註解並未生效,在web.xml中配置包掃描即可;

<context:component-scan base-package="com.dbn.remote.service.*"></context:component-scan>

出現問題集及解決方案