Springmvc错误记录

      启动异常:

            inti()  jar包的为题

 

        springmvc拦截不起作用()

          

         <mvc:annotation-driven >
                    
        </mvc:annotation-driven> 

    可以在扫描包内写

<context:component-scan base-package="com.Controller" use-default-filters="false">
             <context:include-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
            </context:component-scan>

    如果实在eclise中

      重启tomcat

      如果还不重启软件

      

posted @ 2019-11-02 16:04  konge!  阅读(124)  评论(0编辑  收藏  举报