jQuery in Action, 3rd edition
The moose likes Ant, Maven and Other Build Tools and the fly likes ant list error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ant list error" Watch "ant list error" New topic

ant list error

Najib Ait Rahou

Joined: Mar 23, 2008
Posts: 4
i am trying this tutorial
i am using tomcat server to deploy my spring project

I have done this : " ant"
and after i tape "ant deploy"
and it works well "build successfull"

but whene i do "ant list"
i have this error


D:\workspace\springapp\build.xml:133: java.io.FileNotFoundException: http://localhost:8080/manager/list

can any body help me please

sorry, my english is .. i don't speak very well
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

There must in line 133 of "D:\workspace\springapp\build.xml" in the 'list' target, be some kind of ref. to this web site: "http://localhost:8080/manager/list" - is this server running, and is it possible to call the URL??

Regards, Rene Larsen
Dropbox Invite
Najib Ait Rahou

Joined: Mar 23, 2008
Posts: 4
thinks for you response !!
yes the server is running
but it is impossible to call url
the 404 tomcat erreor is displayed (sorry for this engish)
this is the error :

"La ressource demand´┐Że (/springapp/index.jsp) n'est pas disponible"
for my site home page

and i try this also same thing
La ressource demand´┐Że (/manager/list) n'est pas disponible.
[ March 23, 2008: Message edited by: Najib Ait Rahou ]
Najib Ait Rahou

Joined: Mar 23, 2008
Posts: 4
Good ! it work now perfectly
the problem was in the server configuration and the envirement variables path because there wasn't any path pointed to my jdk home and there was also some configurations in tomcat server that i didn't do for first time

my problem was resolved by looking in this quik configuration tutorial


sorry: my english .. i know it bad
Suraj Shekar

Joined: Jul 25, 2002
Posts: 11
I am new for spring framework and studying the document from http://static.springframework.org/ I have eclipse 3.4 configured with tomcat 6.0 I checked for all the environment variables and they seemed to have correct values. However when I execute ant list command I get the following message. Would you please tell me what changes that you have to make to run the application?

build.xml:133: java.io.FileNotFoundException: http://localhost:8080/manager/list
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Suraj, please do not post to old topics. Instead, start a new topic. And when you do, provide the exact command you are using ot run ant, the full ant output, and the target within build.xml that is giving an error. Remember to use the 'code' tags to mark the source code, and use the Preview to check the formatting before posting.

JBoss In Action
Shahar Muky

Joined: May 19, 2011
Posts: 7
add the word text in the relevant task of build xml:

<target name="list" description="List Tomcat applications">
<list url="${tomcat.manager.url}/text"
I agree. Here's the link: http://aspose.com/file-tools
subject: ant list error
It's not a secret anymore!