- 博客(38)
- 资源 (14)
- 问答 (1)
- 收藏
- 关注
原创 读取pkl文件报错_pickle.UnpicklingError: A load persistent id instruction was encountered
读取PKL文件报错报错内容如下:_pickle.UnpicklingError: A load persistent id instruction was encountered,but no persistent_load function was specified.解决办法有很多种,这得看Pkl储存的内容使用的什么方式解决办法(一)使用numpy存储的读取办法import numpy as npmeta_file = 'path/***.pkl'data = np.load(meta
2021-04-15 11:06:40
21954
9
原创 使用pyinstaller打包pyqt5报With the default recursion limit (1000)
使用pyinstaller打包报错内容如下:=============================================================A RecursionError (maximum recursion depth exceeded) occurred.For working around please follow these instructions=======================================================
2020-12-04 16:18:51
4915
6
原创 PyQt5 无法获取到空格键
PyQt5 无法获取到空格键PyQt5 无法获取到空格键,其它按键正常使用,只有空格无法使用。当按下空格时,发现却按的是按钮,正常代码如下: def keyPressEvent(self, event): print(event.key()) if self.status != None: if(event.key() == 16777220 or event.key() == 16777221): print
2020-12-04 16:08:19
1162
2
原创 Output directory not specified for Module
Error:Kotlin:Output directory not specified for Module ‘XXX’ production第一步点击左上角File打开Project Structure…第二步找到Modules 点击项目,然后点减号进行删除删除后点确定先不要慌,确定过后感觉文件不在了,其实还在,此时打开pom.xml第四步打开pom文件后,右击,找到菜单中 Add as Maven Project点击,等待项目加载完成,便不会再报些错误了...
2020-06-15 15:40:33
4396
原创 SpringBoot报错(十五)java.lang.IllegalArgumentException: Request header is too large
Springboot的Tomcat报错Springboot提交数据,直接报错,这种情况一看后台,写了tomcat,就知道是它在搞鬼,错误代码如下java.lang.IllegalArgumentException: Request header is too large at org.apache.coyote.http11.Http11InputBuffer.fill(Http11Inpu...
2019-03-29 10:19:22
1372
原创 tomcat 参数无法传递到后台问题
情况说明前端向后台传输数据,能成功请求,但后台参数不能取到相应的值可接收到后台传回的数据使用ajax的get时后台也可获得数据项目正常运行,无报错,除空指针外前端代码正常,无错原因因此可以推断为tomcat的问题,于是我便更换了一个tomcat果然成功了,所以可以下定结论了。此时我们应该检查一下tomcat的server.xml文件解决办法找到tomcat的conf文件夹,...
2019-03-27 15:04:59
1940
1
原创 网站学习之路心得
每日一学HTML一、常见问题待更HTML一、常见问题图片标签中的alt有什么作用当图片无法加载的时候,alt属性值会以文字的形式替代图片显示。alt属性是用来描述图片内容的,当图片作为背景等装饰时,alt属性应该为空。装饰作用的图片alt属性应该为空网站爬虫根据其属性值来理解图片的内容,因此alt属性对SEO(搜索引擎优化)来说非常重要alt什应以句号结尾,以提高可访问性网速过...
2019-02-22 10:42:16
433
原创 SpringMvc报错(五)tk.mybatis.mapper.provider.base.BaseSelectProvider.dynamicSQL
错误org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.builder.BuilderException: Error invoking SqlProvider method (tk.mybatis.mapper.provider.base.BaseSelectProvider.dyn...
2018-07-20 09:32:01
5724
原创 SpringBoot报错(十) WARN:ationConfigEmbeddedWebApplicationContext
错误如下2017-12-25 09:54:11.645 WARN 1852 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.spring...
2018-05-29 13:57:46
2384
1
原创 SpringBoot报错(十四)redis报错 nested exception is redis.clients.jedis.exceptions.JedisDataException: NOAUT
Redis报错原因有多种,以下列出了两种原因一、Redis设置了密码,然而您的配置文件中却没加密码便会出现以下错误WARN o.s.b.a.h.RedisHealthIndicator[AbstractHealthIndicator.java:46] - Health check failedorg.springframework.dao.InvalidDataAccessAp...
2018-05-29 11:22:38
27955
2
原创 Springmvc报错(四)typeMismatch.java.util.Date 日期报错
错误代码如下org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errorsField error in object 'illnessCase' on field 'createTime': rejected value [20...
2018-04-25 17:06:48
17398
原创 Springmvc报错(三)Failed to instantiate [java.util.Date]
老规矩,费话少说,先上错误org.springframework.beans.BeanInstantiationException: Failed to instantiate [java.util.Date]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException a...
2018-04-25 16:56:10
5311
3
原创 SpringBoot报错(十三)java.net.BindException: Address already in use
在centos当中运行了我的springboot,出现了以下的状况代码块[ main] o.a.coyote.http11.Http11NioProtocol : Failed to start end point associated with ProtocolHandler ["http-nio-88"]java.net.BindException: ...
2018-03-30 15:53:53
658
原创 Mybatis报错(二)You have an error in your SQL syntax; check the manual that corresponds to your MySQL se
org.springframework.jdbc.BadSqlGrammarException: ### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual...
2018-03-30 10:20:09
3423
原创 Mybatis报错(一)nested exception is org.apache.ibatis.binding.BindingException: Parameter '****'
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'questionList' not found. Available parameters are [collection, list] at org.m...
2018-03-28 14:59:26
1030
原创 SpringBoot报错(十二)Redis NOAUTH Authentication required.
NOAUTH Authentication required.
2018-03-26 16:50:08
7043
原创 Springboot 的 application.properties 配置属性
一直在写一些关于错误的博客,想想,觉得错误不是每种都可以遇到的所以今天我想写一个配置的博客 application 的配置属性。 这些属性是否生效取决于对应的组件是否声明为 Spring 应用程序上下文里的 Bean(基本是自动配置的),为一个不生效的组件设置属性是没有用的。(如果使用的是application.yaml就自己做相应的修改)multipartmultipar...
2018-03-20 16:45:13
1719
原创 SpringBoot报错(十一)Failed to load ApplicationContext (三)
这次是一个失误,因为我竟然忘记配置mybatis的config了 修改一个地方,一是你自己配置的mybatisConfig,二就是在application启动文件里边加上 @MapperScan(basePackages = “包名.mapper”)即可java.lang.IllegalStateException: Failed to load ApplicationContext ...
2018-03-08 15:45:36
3575
原创 Springmvc报错(二) Invalid bound statement (not found) and Failed to load ApplicationContext
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.express.service.ExpressInfoService.selectByPrimaryKey at org.apache.ibatis.binding.MapperMethod$SqlCommand.(Ma
2018-02-06 10:29:06
876
原创 JSP报错(一) According to TLD or attribute directive in tag file, attribute value does not accept any ex
org.apache.jasper.JasperException: /illness_case/cases_list.jsp (line: 44, column: 13) According to TLD or attribute directive in tag file, attribute value does not accept any expressions at org.a
2018-01-26 15:00:46
2311
原创 JavaScript报错(一):获取class报错undefined
var checkClass = document.getElementsByClassName('active');alert(checkClass.textContent);这原本很简单的一个获取class的方法,但是它就是要报一个undefined的错误。可我明明就有这个class,为什么会报这个错误 ?因为啊!document.getElementsByC...
2018-01-22 15:05:58
4505
原创 POI操作Word报错(一)java.lang.NoSuchMethodException: org.openxmlformats.schemas.wordprocessingml.x2006.mai
java.lang.NoSuchMethodException: org.openxmlformats.schemas.wordprocessingml.x2006.main.impl.CTPictureBaseImpl.<init>(org.apache.xmlbeans.SchemaType, boolean) at java.lang.Class.getConstructor0(Cla
2018-01-16 16:46:46
10546
2
原创 SpringBoot报错(十一)freemarket报错 freemarker.runtime : Error executing FreeMarker t
2017-12-25 10:49:26.530 ERROR 13156 --- [p-nio-88-exec-1] freemarker.runtime : Error executing FreeMarker templatefreemarker.core.InvalidReferenceException: The following has ...
2017-12-25 11:08:15
20147
原创 SpringBoot报错(十) WARN:ationConfigEmbeddedWebApplicationContext
2017-12-25 09:54:11.645 WARN 1852 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframewo...
2017-12-25 09:56:52
12260
原创 SpringBoot报错(五) Failed to load ApplicationContext (2)
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelega...
2017-12-07 16:42:14
8128
4
原创 SpringBoot报错(九)配置Mybatis报错
2017-11-09 17:03:50.579 WARN 12020 --- [ restartedMain] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframew...
2017-11-09 17:05:35
2240
原创 SpringBoot报错(八)返回页面报错
2017-11-09 15:36:51.563 ERROR 2448 --- [p-nio-88-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Could no...
2017-11-09 15:40:35
6387
原创 SpringBoot报错(七)日常报错jar包冲突
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.2017-11-07 16:14:51.364 ERROR 1688 --- [ restartedMain] o.s.boot.SpringAppli...
2017-11-07 16:25:48
12250
2
原创 SpringBoot报错(六)热部署报错
[org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration$RestartConfiguration.class]
2017-10-16 10:38:45
6269
2
原创 SpringBoot报错(五) Failed to load ApplicationContext
[org/mybatis/spring/boot/autoconfigure/MybatisAutoConfiguration.class]
2017-10-09 16:27:04
24931
原创 SpringBoot报错(四)通用Mapper插件的配置即使用报错
今天来配置mybatis的通用mapper,使用了Mapper插件 <!--通用Mapper插件--> <dependency> <groupId>tk.mybatis</groupId> <artifactId>mapper-spring-boot-starter</artifactId> ...
2017-10-09 15:49:04
6628
原创 springboot报错(三) webjars被拦截或找不到
一直提示webjars下的文件路径不对,同样也找不到,最开始是404,后来按照网上的各种瞎扯,找到了一个在application里边配置的方法2017-09-25 14:30:20.615 WARN 11824 --- [nio-8080-exec-3] o.s.web.servlet.PageNotFound : No mapping found for H...
2017-09-25 14:31:18
12871
1
原创 springboot报错(二) Internal Server Error,status=500
重新配置一次springboot我的pom里边的配置如下<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://mave
2017-09-20 10:50:08
39906
原创 SpringBoot报错(一)端口被占用Address already in use: bind
今天第一次配置springboot就出现一个粗心的错误,虽然我知道怎么解决,但出错,想着就不是很舒服。这个问题的原因是端口被占用,解决方法就是修改Application里边的配置,修改调端口号在application里边加入server.port=8888 . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _...
2017-09-19 14:05:13
46433
11
原创 Springmvc报错(二)java.sql.SQLException: No suitable driver
今天下午,写了一个测试数据库查询,报了一个错误。15:15:47.366 [C3P0PooledConnectionPoolManager[identityToken->1bqoqis9qnvh4bw1efpaw3|38e79ae3]-HelperThread-#0] DEBUG com.mchange.v2.resourcepool.BasicResourcePool - An ex...
2017-09-06 15:19:09
1591
原创 Springmvc报错(一)Logback+Springmvc的配置 logback配置
第一次配置Logback可是找翻了天,到处都找不到一个又正确又省事的logback配置,经过多次试验,在结合网络上各位大神的配置综合弄出了一个配置还是常说的一名话:费话少说上代码JAR包要注意:slf4j-api 、logback-classic 、logback-core 、logback-ext-spring 这四个缺一不可Maven可以这样写pom.xml ...
2017-09-06 10:10:52
959
HTML人脸识别案例
2019-04-01
QRCode需要用的jar包
2018-01-22
generatorConfig
2017-10-09
myeclipse连接mysql数据库
2015-07-17
TA创建的收藏夹 TA关注的收藏夹
TA关注的人