Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ubuntu 19.04/19.10与maven 3兼容吗?_Maven_Ubuntu 19.04 - Fatal编程技术网

Ubuntu 19.04/19.10与maven 3兼容吗?

Ubuntu 19.04/19.10与maven 3兼容吗?,maven,ubuntu-19.04,Maven,Ubuntu 19.04,我的maven 3.6.1和Ubuntu 19.10有问题。我使用:sudo-apt-install-maven安装了maven,当我尝试使用Intellij IDEA运行我的项目时,maven库的包没有下载,当我运行maven clean install时,我看到: 无法将项目org.springframework.boot:springbootstarter父级:pom:2.1.8.RELEASE从/传输到中心():repo.maven.apache.org 这个项目在ubuntu 18.0

我的maven 3.6.1和Ubuntu 19.10有问题。我使用:
sudo-apt-install-maven
安装了maven,当我尝试使用Intellij IDEA运行我的项目时,maven库的包没有下载,当我运行maven clean install时,我看到:

无法将项目org.springframework.boot:springbootstarter父级:pom:2.1.8.RELEASE从/传输到中心():repo.maven.apache.org


这个项目在ubuntu 18.04 LTS上正常工作。有人知道如何修复此问题吗?

我猜您可能有防火墙或网络问题。或者您忘记在新的settings.xml中设置代理