Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/maven/6.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
Maven 2 无法从icefaces或ibiblio repos下载推送服务器依赖项_Maven 2_Maven_Icefaces_Pom.xml - Fatal编程技术网

Maven 2 无法从icefaces或ibiblio repos下载推送服务器依赖项

Maven 2 无法从icefaces或ibiblio repos下载推送服务器依赖项,maven-2,maven,icefaces,pom.xml,Maven 2,Maven,Icefaces,Pom.xml,依赖关系推送服务器存在于icefaces和ibiblio repos中 http://mirrors.ibiblio.org/pub/mirrors/maven2/org/icefaces/push-server/ 两个回购协议都添加到我的pom文件中 参照此参考: 我在pom文件中添加了依赖项: <dependency> <groupId>org.icefaces</groupId> <artifactId>push-serv

依赖关系推送服务器存在于icefaces和ibiblio repos中

http://mirrors.ibiblio.org/pub/mirrors/maven2/org/icefaces/push-server/

两个回购协议都添加到我的pom文件中

参照此参考:

我在pom文件中添加了依赖项:

<dependency>
    <groupId>org.icefaces</groupId>
    <artifactId>push-server</artifactId>
    <version>1.8.1</version>
</dependency>

org.icefaces


那么问题出在哪里呢?

我认为这是类型,您正在尝试下载war,如果您没有指定类型,它将默认为jar,只需添加它应该解决问题的类型

<dependency>
  <groupId>org.icefaces</groupId>
  <artifactId>push-server</artifactId>
  <version>1.8.1</version>
  <type>war</type>
 </dependency>

org.icefaces
推送服务器
1.8.1
战争