错误
霜喧秋
这个作者很懒,什么都没留下…
展开
-
No qualifying bean of type ‘java.lang.String‘ available: expected at least 1 bean which qualifies as
spring无法加载spring类型的bean原创 2022-07-12 15:52:37 · 4416 阅读 · 0 评论 -
spring中的xml查询异常
问题详情org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [beans.xml]; nested exception is java.io.FileNotFoundException: class path resource [beans.xml] cannot be opened because it does原创 2022-03-06 15:51:58 · 176 阅读 · 0 评论 -
mybatis中的错误或者是疏忽
问题描述:The content of element type "mapper" must match "(cache-ref|cache|resultMap*盘查结果:在xml文件中的注释不可使用//在xml文件中的注释必须使用<!-- 注释-->原创 2022-02-28 15:29:21 · 97 阅读 · 0 评论 -
mybatis错误
问题展示:### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'springdb'概要:在mybatis的主配置文件中没有修改url导致无法找到指定数据库解决方法将springdb更改为需要连接的数据库localhost:3306/springdb?...原创 2022-02-26 17:39:09 · 229 阅读 · 0 评论 -
关于idea用JDBC连接mysql数据库时报错Client does not support authentication protocol requested by server的解决方法
参考idea用JDBC连接mysql数据库时报错Client does not support authentication protocol requested by server的解决方法_Kary的博客-CSDN博客转载 2022-02-26 17:19:05 · 479 阅读 · 0 评论 -
mybatis的错误
No suitable driver found for jdbc://localhost:3306/springdb?useUnicode=true&characterEncoding=utf-8问题代码"jdbc://localhost:3306/springdb?useUnicode=true&characterEncoding=utf-8"修改"jdbc:mysql://localhost:3306/springdb?useUnicode=true&a原创 2022-02-26 17:17:47 · 494 阅读 · 0 评论