Eclipse 警告:在名为';spring dispatcher';
我收到如下警告信息:Eclipse 警告:在名为';spring dispatcher';,eclipse,spring,tomcat,Eclipse,Spring,Tomcat,我收到如下警告信息: WARNING: No mapping found for HTTP request with URI [/PMC/] in DispatcherServlet with name 'spring-dispatcher' 这是我的SpringBean定义: <beans xmlns="springframework.org/schema/beans"; xmlns:context="springframework.org/schema/context"; xmlns
WARNING: No mapping found for HTTP request with URI [/PMC/] in DispatcherServlet with name 'spring-dispatcher'
这是我的SpringBean定义:
<beans xmlns="springframework.org/schema/beans"; xmlns:context="springframework.org/schema/context"; xmlns:xsi="w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="springframework.org/schema/beans springframework.org/schema/beans/spring-beans-2.5.xsd springframework.org/schema/context springframework.org/schema/context/spring-context.xsd">
<context:component-scan base-package="com.PMC.hellocontroller" />
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver" >
<property name="prefix">
<value>/WEB-INF/</value>
</property>
<property name="suffix">
<value>.jsp</value>
</property>
</bean>
</beans>
/WEB-INF/
.jsp
请给我看一下您的控制器代码。
在根路径上似乎没有映射的控制器方法
请参阅。此文件开头部分:--