
Originally Posted by
ram2206
Hi,
I am following the below link for developing sample spring application.
springframework.org/docs/Spring-MVC-step-by-step/part1.html#step1.2
I run the "build.xml" file by Ant Build. It displays the following in the console..
Buildfile: D:\Ramesh\WorkSpace\springapp\build.xml
usage:
[echo] springapp build file
[echo] -----------------------------------
[echo] Available targets are:
[echo] build --> Build the application
[echo] deploy --> Deploy application as directory
[echo] deploywar --> Deploy application as a WAR file
[echo] install --> Install application in Tomcat
[echo] reload --> Reload application in Tomcat
[echo] start --> Start Tomcat application
[echo] stop --> Stop Tomcat application
[echo] list --> List Tomcat applications
build:
build:
deploy:
build:
deploywar:
reload:
BUILD FAILED
D:\Ramesh\WorkSpace\springapp\build.xml:113: java.net.ConnectException: Connection refused: connect
Total time: 2 seconds
Any one give me the solution.....