JBoss AS 7 auto deploy plugin cannot connect to localhost:8080
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have configured the plugin in maven as shown below: <plugin> <groupId>org.jboss.as.plugins</groupId> <artifactId>jboss-as-maven-plugin</artifactId> <version>7.0.2.Final</version> <configuration> <hostname>localhost</hostname> <port>8080</port> <filename>target/TestApp.war</filename> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin> I then trigger it using maven using mvn -U clean install package It does build and everything works fine but fails when it