![](https://img-blog.csdnimg.cn/20190927151026427.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Exceptions
异常
ooooooooooooooxiaosu
这个作者很懒,什么都没留下…
展开
-
【Exception】unable to enhance gradle daemon classloader with idea_rt.jar
错误描述用idea创建gradle项目,运行,报错“unable to enhance gradle daemon classloader with idea_rt.jar”原因分析gradle 版本太低解决方法在build时,会有提示如下参考文章原创 2022-03-21 13:49:55 · 895 阅读 · 0 评论 -
【Exceptions】改变CSDN博文行间距
解决方法换行时shift+回车。还不行的话切换到源码编辑,有间距的换行符是 <p>博客内容</p>,你只要把<p>删除,然后把</p>换成<br/>就可以了。至于如何切换到源码编辑?参考文章https://blog.csdn.net/Java_BlackHumour/article/details/80544732...转载 2020-09-01 14:04:02 · 203 阅读 · 0 评论 -
Servlet execution threw an exception
问题描述自定义Servlet类,继承HttpServlet,复写doPost和doGet方法;使用注解@WebServlet进行配置;通过html超链接(<a>标签)链接该servlet;浏览器访问html页面,点击超链接,报错“占内存溢出”。原因分析程序执行时,会加载方法到占内存中,查看异常截图,应该是死循环了。解决方法程序写错,doGet方法中应该调用doPost方法,误写成doGet方法中调用doGet(即,调用自己)。。。...原创 2020-06-17 16:36:21 · 6831 阅读 · 1 评论 -
错误: 找不到或无法加载主类 com.xxx
环境描述idea2019.3 springboot2.x问题描述把idea自动生成的.idea文件删除后,启动项目报错错误: 找不到或无法加载主类 com.example.chapter17product.Chapter17ProductApplication解决方法...原创 2020-04-11 09:40:01 · 475 阅读 · 0 评论 -
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'classPath...
环境idea2019.3 springboot2.0.0.RELEASE问题描述org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'classPathFileSystemWatcher' defined in class path resource [org/s...原创 2020-04-08 11:27:58 · 384 阅读 · 0 评论 -
java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_pa
解决方法在URL中添加allowPublicKeyRetrieval=truespring.datasource.url=jdbc:mysql://localhost:3306/chapter16?useSSL=false&allowPublicKeyRetrieval=true原创 2020-04-01 09:41:13 · 2523 阅读 · 1 评论 -
java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'.
解决方法把版本调高,和mysql数据库对应<dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.11</version></depen...原创 2020-04-01 09:35:22 · 146 阅读 · 0 评论 -
Cannot serialize(redis)
问题描述2019-12-31 10:12:33.467 ERROR 38620 --- [nio-8080-exec-3] w.a.UsernamePasswordAuthenticationFilter : An internal error occurred while trying to authenticate the user.org.springframework.secur...原创 2019-12-31 10:27:47 · 769 阅读 · 0 评论 -
spring security Invalid bound statement (not found)
问题描述在配置完自定义configure(AuthenticationManagerBuilder)用户签名服务和配置完拦截保护的请求configure(HttpSecurity)后,访问默认login页面(http://localhost:8080/login)时报错org.springframework.security.authentication.InternalAuthenti...原创 2019-12-31 10:11:54 · 858 阅读 · 1 评论 -
Request method 'POST' not supported
问题描述在jsp文件中用jQuery的post方法请求后台,报【Request method 'POST' not supported】错误。原因分析参数(名)传错 前后端的http动作方法不对应 请求地址前后不对应...原创 2019-12-27 15:05:41 · 332 阅读 · 1 评论 -
java.lang.IllegalArgumentException: argument type mismatch
问题描述mybatis报java.lang.IllegalArgumentException: argument type mismatch错误错误原因:参数类型异常,传入的参数类型和需要的参数类型不匹配解决办法:1、打断点,找到是哪个参数 2、产看这个参数的转换是否有问题 3、尤其是使用反射的话,看反射的时候设置的参数数类型是否考虑周全转自https://blog....转载 2019-12-27 11:20:51 · 267 阅读 · 0 评论