各种异常
文章平均质量分 64
qqzz576211039
这个作者很懒,什么都没留下…
展开
-
load()加载html页面乱码问题
在html页面的<head>标签(如果没有<head>标签就自己写一个)里加上`<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />这样就可以了原创 2021-02-03 16:19:53 · 308 阅读 · 0 评论 -
mybatis整合mysql出错
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: Error instantiating class cn.baidu.entity.User with invalid types () or values (). Cause: java.lang.NoSuchMethodException: cn.baidu.entity.User原创 2021-01-16 23:10:11 · 97 阅读 · 0 评论 -
mybatis整合mysql出错,无法加载mysql驱动
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is原创 2021-01-17 00:22:33 · 2062 阅读 · 0 评论 -
谷歌浏览器获取不到value
**```javascript**document.getElementById(var id) **在使用ie浏览器,用这个方法获取元素的时候,括号里的参数可以填写你所需要的元素的id或者name(name不重复),最后都能获得你想要的元素。 但是,在使用谷歌浏览器的时候,用这个方法获取元素,括号里的参数必须填写你所要获得的元素的id才行,填name是无法获得元素的。 所以,为了兼容所有浏览器,括号里的参数值必须是你所需要的元素的id。 最后 *元素.value* 获得你所需要的value值.原创 2020-12-31 18:16:09 · 623 阅读 · 0 评论 -
学习spring整合mybatis过程中出现的错误
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘ssfb’ defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.springframework.core.NestedIOException: Failed原创 2020-12-29 11:43:54 · 838 阅读 · 0 评论 -
记录我学习java过程中遇到的错误
org.apache.ibatis.exceptions.PersistenceException:Error querying database. Cause: org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement ‘test.findById2’. It’s likely that neither a Result Ty原创 2020-12-17 19:47:26 · 159 阅读 · 0 评论