@Controller 和WARN No mapping found for HTTP request with URI

SpringMVC 的 Controller 类名上 如果没加 @Controller  注解,那么该Controller类中的方法和方法对应的uri就不能被找到

WARN No mapping found for HTTP request with URI [/ehr/application/fee/fee-input.do] in DispatcherServlet with name 'spring-mvc'

@Controller
public class FeeController   extends ApplicationController{

……
 }

猜你喜欢

转载自justice-jl.iteye.com/blog/1826359