剛導(dǎo)出的時(shí)候報(bào)錯(cuò)如下:No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the repositories [local (D:?\MyTools\maven\respo), central (http://repo.maven.apache.org/maven2)]然后我就在pom.xml文件中添加了: <dependency>? ? ? ? ? ? <groupId>org.apache.maven.plugins</groupId>? ? ? ? ? ? <artifactId>maven-resources-plugin</artifactId>? ? ? ? ? ? <version>2.5</version>? ? ? ? </dependency>緊接著就又報(bào)了如下錯(cuò)誤:Failure to transfer org.apache.maven.plugins:maven-war-plugin:jar:2.1.1 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven.plugins:maven-war-plugin:jar:2.1.1 from/to central (http://repo.maven.apache.org/maven2): No response received after 60000 pom.xml /stormweb?line 1 Maven Configuration Problem求助,求助,腫么破啊?
添加回答
舉報(bào)
0/150
提交
取消