不一样的No mapping found for HTTP request with URI

    在刚开始使用SpringMVC开发网站时,可能最常见的问题就是形如“No mapping found for HTTP request with URI [/SpringTest/hello] in DispatcherServlet with name 'spring'“的错误了,按照网络上的方法,无非就是requestMapping注解所设置的url、jsp中打开的链接url、InternalResourceViewResolver的property设置这三方面不一致导致。

    但是除了上述原因之外,还有一种更奇葩的原因:使用了64位的Eclipse导致,即使所使用的jdk和tomcat都是64位,仍然会显示no mapping的错误,怀疑是否Spring Tool Suite的64位支持的问题。

   被折腾的几近吐血……骂人

你可能感兴趣的:(不一样的No mapping found for HTTP request with URI)