![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误
齊 天 大 聖
这个作者很懒,什么都没留下…
展开
-
Android连接服务器异常
Caused by: java.net.ConnectException: failed to connect to localhost/127.0.0.1 (port 8080) from /127.0.0.1 (port 53568) after 10000ms: isConnected failed: ECONNREFUSED (Connection refused)Caused by: android.system.ErrnoException: isConnected failed: ECONN原创 2023-03-01 16:43:46 · 1250 阅读 · 0 评论 -
Could not autowire. No beans of ‘RedisConnectionFactory‘ type found.已解决
先把boot项目的简单架子搭起来(比如只有一个controller的项目),让项目先跑起来,验证前后端是通的,然后再把redisTemplate方法加进去试试,因为可能是一些基础的依赖或配置我们没有注意到,所以导致idea的编译器检测报错。,所以idea编译器检测不到这是一个springboot项目,所以无法通过形参注入成功。在创建redisTemplate时,形参列表爆出了如下错误。原创 2022-12-14 16:42:15 · 7208 阅读 · 1 评论 -
.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 3
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.TooManyResultsException: Expected one result (or null) to be returned by selectOne(), but found: 3原创 2022-05-10 20:14:35 · 818 阅读 · 0 评论 -
### Error building SqlSession. ### Cause: org.apache.ibatis.builder.BuilderException: Error creating
mybatis报错:###Error building SqlSession.###Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 99; 对实体 “characterEncoding” 的引用必须以 ‘;’ 分隔符结尾。原因:在写数据库的ur原创 2021-07-20 10:12:22 · 366 阅读 · 0 评论 -
org.apache.ibatis.exceptions.PersistenceException: ###Error querying database. Cause: com.mysql.jd
org.apache.ibatis.exceptions.PersistenceException:###Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.###The error may exist in EmployeeMapper.xml###The原创 2021-07-20 10:08:38 · 449 阅读 · 0 评论 -
org.apache.maven.plugins:maven-resources-plugin:2.4.3
在myeclipse上创建maven可能会遇到 org.apache.maven.plugins:maven-resources-plugin:2.4.3 org.apache.maven.plugins:maven-jar-plugin:2.3.1 org.apache.maven.maven-surefire-plugin:2.7.1 等错误那么这是什么原因呢?应该是因为myeclipse无法从远程仓库下载相应的jar包解决办法1.在你的项目的pom.xml文件中,将缺少的包写进去2.在命令原创 2021-07-11 13:35:34 · 464 阅读 · 0 评论