-
May 6th, 2010, 11:56 AM
#1
Spring Tutorial, Build Failed, http://localhost:8080/manager/list 404 Error
Hi,
I have set up tomcat and eclipse. Starting tomcat via eclipse I can access the localhost:8080/ tomcat wellcome page.
But when I run list after the deploy commad I get the following error:
Buildfile: C:\Users\Artjom\Desktop\xy_ids\xy_ids\build.xml
usage:
[echo] neargear_ids 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:
deploy:
list:
BUILD FAILED
C:\Users\Artjom\Desktop\xy_ids\xy_ids\build.xml:13 3: java.io.FileNotFoundException: http://localhost:8080/manager/list
Total time: 160 milliseconds
the information in tomcat_user.xml and in build.properties in regards to the user informaition are equal.
please help
-
May 6th, 2010, 12:45 PM
#2
could you pls post your complete build.xml file as well. that may give some more clear picture of how you have configured it. I am sure there is something wrong with your welcome file. check the redirection tag if you are redirecting it
-
May 6th, 2010, 12:46 PM
#3
are you trying to build spring step by step application. which app are you trying let me know pls.
-
May 6th, 2010, 12:48 PM
#4
-
May 6th, 2010, 12:56 PM
#5
my friend you are getting that error because build.properties file which you have copied is not pointing to proper location of your tomcat_home directory. make sure you have tomcat_home path set.
Also which tomcat version are you using if 5.5 then point to lib dir.
-
May 6th, 2010, 01:01 PM
#6
build.properties
# Ant properties for building the neargear app
appserver.home=c:/apache_tomcat
# for Tomcat 5 use $appserver.home}/server/lib
# for Tomcat 6 use $appserver.home}/lib
appserver.lib=${appserver.home}/lib
deploy.path=${appserver.home}/webapps
tomcat.manager.url=http://localhost:8080/manager
tomcat.manager.username=tomcat
tomcat.manager.password=s3cret
I do not see the problem in build.properties. I use Tomcat 6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules