Probleme Tutoriel sur la réalisation d'application Web simple avec Spring
Bonjour,
Dans la rubrique II-E. Passage de donnée à la JSP « bonjour.jsp » du tutoriel : sur la réalisation d'application Web simple avec Spring à cette adresse http://rpouiller.developpez.com/tuto...ing-hibernate/
Je suis bloqué.
Sur cette adresse http://localhost:8080/tutoriel-web-spring/bonjour ,
j'ai ce message d'erreur sur le navigateur :
Code:
1 2 3 4 5 6 7
| Etat HTTP 404 -
type Rapport d''état
message
description La ressource demandée n''est pas disponible. |
J'ai ce message d'erreur en console :
Code:
1 2
| org.springframework.web.servlet.PageNotFound noHandlerFound
WARNING: No mapping found for HTTP request with URI [/tutoriel-web-spring/vues/bonjour] in DispatcherServlet with name 'servlet-dispatcher' |
Pourquoi ?
Merci,
Lionceau.
effectivement j'ai le même bogue
http://localhost:8080/tutoriel-web-spring/vues/bonjour
pourtant voilà mon fichier xml
Code:
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
| <beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="http://www.springframework.org/schema/beans
<a href="http://www.springframework.org/schema/beans/spring-beans-4.0.xsd" target="_blank">http://www.springframework.org/schem...-beans-4.0.xsd</a>
<a href="http://www.springframework.org/schema/context" target="_blank">http://www.springframework.org/schema/context</a>
<a href="http://www.springframework.org/schema/context/spring-context-4.0.xsd" target="_blank">http://www.springframework.org/schem...ontext-4.0.xsd</a>
<a href="http://www.springframework.org/schema/mvc" target="_blank">http://www.springframework.org/schema/mvc</a>
<a href="http://www.springframework.org/schema/mvc/spring-mvc.xsd" target="_blank">http://www.springframework.org/schem...spring-mvc.xsd</a>
<a href="http://www.springframework.org/schema/tx" target="_blank">http://www.springframework.org/schema/tx</a> http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
<bean id="messageSource"
class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basename" value="classpath:messages" />
<property name="defaultEncoding" value="ISO-8859-1" />
</bean>
<context:component-scan base-package="com.developpez.rpouiller" />
<bean
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix">
<value>/vues/</value>
</property>
<property name="suffix">
<value>.jsp</value>
</property>
</bean>
</beans> |