java出现异常no protocol: ?

原因:
没有指定请求头(url缺少http或者https)
解决办法:
指定请求头:
http或者https

猜你喜欢

转载自blog.csdn.net/weixin_44710155/article/details/117999822