Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Eclipse 警告:在名为';spring dispatcher';_Eclipse_Spring_Tomcat - Fatal编程技术网

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

请给我看一下您的控制器代码。 在根路径上似乎没有映射的控制器方法


请参阅。

此文件开头部分:--