
ssm
cskf
学习技术
展开
-
插入数据时id是自动添加的,故SQL语句中没有id,前端传数据时没传自增属性,导致报错:The server cannot or will not process the request due to
插入数据时id是自动添加的,故SQL语句中没有id,见:https://mp.youkuaiyun.com/postedit/103895623 故前端传数据时,我也没有传ID,使用对象user接收数据,总是报如下错误: HTTP Status 400 – Bad Request TypeStatus Report DescriptionThe server cannot or w...原创 2020-01-15 18:39:32 · 1513 阅读 · 0 评论 -
ssm 执行查询语句报Configuration problem: Failed to import bean definitions from URL location ,更新语句正常,为何??
原创 2020-01-15 11:20:48 · 5733 阅读 · 5 评论 -
ssm 各层的配置文件
1、spring与mybatis整合的配置文件为springmvc-dao.xml,内容如下 <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XML...原创 2020-01-08 12:57:04 · 122 阅读 · 0 评论