![](https://img-blog.csdnimg.cn/20200622222628308.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
错误排查
总结错误及解决措施
深巷的猫~
在挣扎的边缘徘徊中.......
展开
-
若依管理系统开发错误集合(持续更新...)
错误1:request.js?b775:101 Uncaught (in promise) Error: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'colCollege' not found. Available parameters are [arg1, arg0, param1, param2] at _default (request.js?b775:101)_default @ r原创 2022-04-26 22:02:39 · 1736 阅读 · 0 评论 -
Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException
Error creating bean with name 'captchaController': Unsatisfied dependency expressed through field 'configService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sysConfigServiceImpl': Invocation原创 2022-04-19 12:10:39 · 6162 阅读 · 0 评论 -
Android常见问题
问题1:Fragment加载布局时,出现如下错误,主要是因为在inflate(R.layout.layout2,container)中,应该改为inflate(R.layout.layout2,null),其实最好写成inflate(R.layout.layout2,container,false),问题就解决了。java.lang.StackOverflowError: stack size 8192KB at android.widget.TextView.jumpDrawables原创 2021-06-03 22:08:09 · 551 阅读 · 0 评论 -
Cannot execute task: the task has already been executed....
遇到如下异常是因为AsyncTask线程只能运行一次,而你当前却在多次运行某个AsyncTask线程Cannot execute task: the task has already been executed (a task can be executed only once)....解决方法:将"task.execute(…) "换成“ new AsyncTask().execute(…)”; 你的task只能execute(…)一次,所以每次要更新的时候都是新建task去更新就好了。问题解原创 2021-05-28 08:32:09 · 1516 阅读 · 0 评论 -
Canvas: trying to use a recycled bitmap android.graphics....
Canvas: trying to use a recycled bitmap android.graphics.Bitmap@1c88f6a原创 2021-05-27 11:50:33 · 543 阅读 · 0 评论 -
Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-6.7.1-b
第一次使用Android Studio遇到这个问题:Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-6.7.1-bin.zip'解决方法:AS会开始下载gradle文件,应该会下载失败,并弹出一个网址,我们复制网址自己去下载,将下载好的压缩包解压到C:\Users\LiuQQ.gradle\wrapper\dists(我的路径),注意需要把原本的文件夹删除且不能更原创 2021-05-06 22:28:42 · 2738 阅读 · 5 评论 -
安装vue-cli时:npm WARN deprecated @hapi/joi@15.1.1: Switch to ‘npm install joi‘
安装vue-cli脚手架出错:npm install @vue/cli -gnpm WARN deprecated @hapi/joi@15.1.1: Switch to 'npm install joi'解决方法:需要清一下缓存,再执行该指令npm cache clean --forcenpm install @vue/cli -g原创 2020-11-28 23:06:32 · 18194 阅读 · 2 评论 -
使用WebStorm开发前端,网页中文乱码问题的解决方案
网页中文乱码如图所示:解决方法:在html中head加上如下代码:<meta http-equiv="Content-Type" content="text/html;charset=utf-8">问题解决原创 2020-11-22 15:50:21 · 1804 阅读 · 0 评论 -
Cannot resolve method ‘setPassword‘ in ‘UserEntity.
Cannot resolve method ‘setPassword’ in 'UserEntity.错误原因:java8的开始支持的lombok,可以在定义DTO实体对象时不写get和set方法,虽然运行没有问题,但是编译时会提示错误信息“Cannot resolve method ‘setPassword’ in ‘UserEntity.’”,要消除这个错误提示,需要安装lombok插件;安装方法为:file->settings->plugins,在仓库中搜索lom安装,重启idea原创 2020-09-25 08:38:34 · 1837 阅读 · 1 评论 -
Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException: Unable....
Handling error: RedisConnectionFailureException, Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 192.168.66.129:6379错误原因:Redis应连接本地Redis,将"192.168.66.129"改成”127.0.0.1“,注释掉”spring.redis.pass原创 2020-09-02 21:45:44 · 2378 阅读 · 0 评论 -
Type ‘java.awt.List‘ does not have type parameters.
Type ‘java.awt.List’ does not have type parameters.List<String> list = new ArrayList<String>();在使用 List 类的时候会报一个错误,如上所示,这个错误是因为导错了包,将import java.awt.List;改为import java.util.List;问题解决!!!...原创 2020-08-26 18:39:14 · 9517 阅读 · 2 评论 -
Could not autowire. No beans of ‘BookMapper‘ type found.
Could not autowire. No beans of ‘BookMapper’ type found.解决方法,在IDEA中设置一下,Settings - Editor - Inspections - Spring - Spring Core - Code - Autowiring for Bean Class - disable 把勾去掉即可,如下图:问题解决!!!...原创 2020-08-26 16:44:09 · 2300 阅读 · 0 评论 -
Not registered via @EnableConfigurationProperties, marked as Spring component.........
Not registered via @EnableConfigurationProperties, marked as Spring component, or scanned via @ConfigurationPropertiesScan.错误原因:当使用@ConfigurationProperties时IDEA顶部出现这样的提示:解决方法:@ConfigurationProperties使用spring-boot-configuration-processorjar 轻松地从带有注释的项目原创 2020-08-21 11:02:53 · 34862 阅读 · 7 评论 -
java.sql.SQLException: The server time zone value ‘�й���ʱ��‘ is unrecognized or represents more....
java.sql.SQLException: The server time zone value ‘�й���ʱ��’ is unrecognized or represents more than one time zone.错误原因:报错显示时区不对,可以通过配置JDBC驱动或者配置serverTimezone来设置时区,很明显,我们数据库驱动的时区配置不对,你得自己去配置或者去更换驱动的版本!<dependency> <groupId>mysql原创 2020-08-19 20:51:19 · 397 阅读 · 0 评论 -
Error creating bean with name ‘dataSource‘: Unsatisfied dependency expressed through field
Error creating bean with name ‘dataSource’: Unsatisfied dependency expressed through field ‘basicProperties’;解决方法:项目缺少了 springframework.jdbc 这个jar包,在pom.xml中添加依赖<dependency> <groupId>org.springframework.boot</groupId> <art原创 2020-08-19 20:39:03 · 12406 阅读 · 5 评论 -
Error:程序包com.sun.istack.internal不存在
程序包com.sun.istack.internal不存在出现该问题是因为代码里使用了 sun 私有包中 @NotNull注解导致,只要引入相应的sun私有包就OK解决措施:<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId>原创 2020-07-10 10:02:14 · 1536 阅读 · 0 评论 -
Web server failed to start. Port 8099 was already in use.
Web server failed to start. Port 8099 was already in use.Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2020-06-26 22:27:54.406 ERROR 12212 --- [ main] o.s.b.d.LoggingFailureAnal原创 2020-06-27 09:39:39 · 2157 阅读 · 0 评论 -
Failed to bind properties under ‘spring.datasource.type’ to java.lang.Class的解决方法
问题详情如下:Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2020-06-04 8:27:01.386 ERROR 11568 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter : ***************************APPL原创 2020-06-04 14:03:22 · 24023 阅读 · 4 评论 -
Failed to configure a DataSource:‘url’attribute is not specified and no embedded的解决方法
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.Reason: Failed to determine a suitable driver class问题具体如下:Error starting ApplicationContext. To display the conditions report re-run your .原创 2020-06-03 22:17:23 · 514 阅读 · 0 评论