Bonjour, je suis le tutorial de springframework ici :
http://static.springsource.org/docs/...tep/part1.html
J'ai donc installe ant , apache tomcat , eclipse..
Lors de l'étape ant list, j'ai cette erreur.
Curieusement quand je tape :
http://localhost:8080/manager/list , ça fonctionne et me retourne:
OK - Applications listées pour l'hôte virtuel (virtual host) localhost
/admin:running:0:admin
/JavaBridge:running:0:JavaBridge
/webdav:running:0:webdav
/servlets-examples:running:0:servlets-examples
/jsp-examples:running:0:jsp-examples
/balancer:running:0:balancer
/host-manager:running:0:C:/Program Files/Apache Software Foundation/Tomcat 5.5/server/webapps/host-manager
/tomcat-docs:running:0:tomcat-docs
/:running:0:ROOT
/manager:running:0:C:/Program Files/Apache Software Foundation/Tomcat 5.5/server/webapps/manager
Comment faire? merci
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35 BUILD FAILED C:\Documents and Settings\Vincent Armelin.DG7LX44J\j2EE\springapp\build.xml:133: java.io.IOException: Server returned HTTP response code: 403 for URL: http://lo calhost:8080/manager/list at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon nection.java:1313) at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalina Task.java:223) at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalina Task.java:146) at org.apache.catalina.ant.ListTask.execute(ListTask.java:50) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav a:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360) at org.apache.tools.ant.Project.executeTarget(Project.java:1329) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe cutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1212) at org.apache.tools.ant.Main.runBuild(Main.java:801) at org.apache.tools.ant.Main.startAnt(Main.java:218) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Total time: 0 seconds C:\Documents and Settings\Vincent Armelin.DG7LX44J\j2EE\springapp>
Aussi l'url : localhost:8080/springapp me retourne ressource disponible alors que le dossiet webapps/springapp est bien présent physiquement et qu'il contient mon unique jsp du projet.
Partager