首页 > 代码库 > cargo failed to finish deploying within the timeout period [120000]
cargo failed to finish deploying within the timeout period [120000]
cargo插件,报错:failed to finish deploying within the timeout period [120000]
解决方法:配置timeout为0
1 <plugin> 2 <groupId>org.codehaus.cargo</groupId> 3 <artifactId>cargo-maven2-plugin</artifactId> 4 <version>1.4.9</version> 5 <configuration> 6 <container> 7 <containerId>tomcat6x</containerId> 8 <timeout>0</timeout> 9 <type>remote</type>10 </container>11 <configuration>12 <type>runtime</type>13 <properties>14 <cargo.remote.username>tomcat</cargo.remote.username>15 <cargo.remote.password>tomcat</cargo.remote.password>16 17 <!-- tomcat7 18 <cargo.remote.url>http://localhost:8080/manager/text</cargo.remote.url>-->19 <!-- tomcat6 -->20 <cargo.remote.uri>http://localhost:8080/manager</cargo.remote.uri>21 22 </properties>23 </configuration>24 </configuration>25 </plugin>
cargo failed to finish deploying within the timeout period [120000]
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。