当前位置:   article > 正文

Target host must not be null /// host name may not be null 处理_actual request host must not be null

actual request host must not be null

 

  网上看的都是

Caused by: java.lang.IllegalStateException: Target host must not be null, or set in parameters.

 报错的原因是因为没有在加url中加“http://”,加上http://就是解决方案。


/-------------------------------------------------------------------------------------------------------------/

/-------------------------------------------------------------------------------------------------------------/

 我碰的是 Caused by: java.lang.IllegalStateException: Target host name may not be null 


原因是如:

 http://quanguo.xxxx.没问题

http://quanguo_sky.xxxx,这个就有问题了,就多了一个下划线,  且在pc浏览器上测试没问题,就是手机上不行

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/繁依Fanyi0/article/detail/282286
推荐阅读
相关标签
  

闽ICP备14008679号