maven+spring+mybatis
Raise扬
活泼开朗幽默
展开
-
Mapped Statements collection does not contain value for的解决方法
错误原因有几种:1、mapper.xml中没有加入namespace2、mapper.xml中的方法和接口mapper的方法不对应3、mapper.xml没有加入到mybatis-config.xml中(即总的配置文件),例外:配置了mapper文件的包路径的除外4、mapper.xml文件名和所写的mapper名称不相同。原创 2014-05-27 16:34:18 · 10752 阅读 · 1 评论 -
Spring mvc多图片上传然后在页面展示
@RequestMapping("/insert") @ResponseBody public Object insert(HttpServletRequest request, HttpServletResponse response, @RequestParam MultipartFile[] urlName) throws IOException { request.se原创 2014-07-22 11:21:18 · 4922 阅读 · 1 评论 -
在pring框架出现 405 request method post not supported 的解决方法
在pring框架中当使用post请求服务,然后请求成功转到一个静态文件,如html,htm等网页时。页面出现405 request method post not supported错误原创 2014-07-08 14:47:04 · 64313 阅读 · 5 评论 -
Spring mvc多图片上传页面代码(采用aceadminui框架)
主题管理 ×原创 2015-12-28 11:47:23 · 1242 阅读 · 0 评论