在迁移Java应用包的过程中,若应用包转换失败,需要执行脚本获取相关依赖。值得注意的是,脚本执行必须在联网环境下,为了确保网络连接正常,可以通过设置代理服务器的方式来配置网络环境。
vi /etc/wgetrc
# You can set the default proxies for Wget to use for http, https, and ftp. # They will override the value in the environment. https_proxy = http://ip:port http_proxy = http://ip:port ftp_proxy = http://ip:port # If you do not want to use proxy at all, set this to off. use_proxy = on