![](https://img-blog.csdnimg.cn/20190918140037908.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
错误点总结
java常见报错解决方案总结分析
xiri_
这个作者很懒,什么都没留下…
展开
-
mybatisplus中sqlSessionFactory或sqlSessionTemplate不自动注入
mybatisplus中sqlSessionFactory或sqlSessionTemplate不自动注入报错复现:Property ‘sqlSessionFactory’ or ‘sqlSessionTemplate’ are required问题分析:出现此类情况的原因是mybatisPlus中没有注入sqlSessionFactory或sqlSessionTemplate解决方案:检查pom依赖文件,查看mybatisPlus依赖是否使用的为mybatisplus-spring-boot-原创 2022-05-23 10:46:20 · 2162 阅读 · 0 评论 -
java.io.IOException markreset not supported 异常
java.io.IOException: mark/reset not supported 异常问题说明: 给定的流不支持mark和reset操作问题分析: mark和reset操作要求输入流能够进行读写头的来回移动操作,一般在缓冲区内对输入流进行读写操作,而InpurStream输入流并无缓冲区,故InputStream不允许mark和reset机制问题解决: 由于mark和reset操作要求输入流有缓冲区,又由于BufferedInputStream继承于FilterInputS原创 2022-04-07 14:59:34 · 1909 阅读 · 0 评论 -
一招搞定:nested exception is org.springframework.boot.web.server.WebServerException Unable to s
一招搞定:Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat搭建springcloud项目,启动eureka的过程中出现了以下错误,该怎么办Unable to start web server; nested exception is org.springframework.boot.w原创 2020-12-12 21:02:37 · 16017 阅读 · 6 评论 -
连接数据库报时区错误的解决方法
连接数据库报时区错误的解决方法如果我们在servlet中连接数据库时,控制台出现了如下错误:The server time zone value ‘?й???’ is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the ‘serverTimezone’ configuration property) to use a more sp原创 2020-09-28 21:07:51 · 1103 阅读 · 0 评论