Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jar file download problem Jar包下载问题 #17

Open
justinliu1981 opened this issue Dec 29, 2020 · 0 comments
Open

Jar file download problem Jar包下载问题 #17

justinliu1981 opened this issue Dec 29, 2020 · 0 comments

Comments

@justinliu1981
Copy link

I met the network problem that I was not able to download all tsf jars and tencent/cloud jars at once. When I retried it, mvn could not reload the jars from remote repository. I fixed it by the following steps:

  1. Remove all the xxx.lastUpdated files and rerun command 'mvn clean package' ( or use -U with mvn command, it can ignore xxx.lastUpdated).
  2. Switch to another stable network.
    我遇到网络抖动问题,导致TSF所依赖的两个主要jar文件库tsf和tencent/cloud无法一次下载完所有的jar文件。当我重试时,mvn会因为xxx.lastUpdated文件认为本地已经有该jar包而不再去远端库下载。我通过以下两个步骤解决了这个问题:
  3. 删除所有xxx.lastUpadated文件,或者在mvn命令后跟随-U参数,这个参数会忽略掉xxx.lastUpdated文件。
  4. 切换另一个稳定网络,再次执行mvn clean package命令,重新下载所有jar包。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant