No mapping found for HTTP request with URI [/test2/test/add.json] in DispatcherServlet with name 'dispatcher'
查看spring-mvc.xml中扫描包路径配置是否正确:
<!-- 扫描controller(controller层注入) --> <context:component-scan base-package="com.test.www.web.controller"/>
查看spring-mvc.xml中扫描包路径配置是否正确:
<!-- 扫描controller(controller层注入) --> <context:component-scan base-package="com.test.www.web.controller"/>