一. 模块 1.什么是模块? 常见的场景:一个模块就是一个包含了python定义和声明的文件,文件名就是模块名字加上.py的后缀。 但其实import加载的模块分为四个通用类别: 1 使用python编写的代码(.py文件) 2 已被编译为共享库或DLL的C或C++扩展 3 包好一组模块的包 4 使 ...
分类:
编程语言 时间:
2020-01-16 00:39:41
阅读次数:
59
Laravel 5.4默认使用utf8mb4字符编码,而不是之前的utf8编码。因此运行php artisan migrate 会出现如下错误: [Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access ...
分类:
其他好文 时间:
2020-01-15 19:34:57
阅读次数:
71
启动springboot的时候莫名其妙出现这个错误,我properties里面也没配置数据源啥的,但就是出现这个错误 解决方法: 在启动类上加@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class}) 即在@SpringB ...
分类:
Web程序 时间:
2020-01-15 19:21:45
阅读次数:
90
问题描述: springboot版本 2.1.1 pom.xml配置 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifa ...
分类:
Web程序 时间:
2020-01-13 13:07:17
阅读次数:
88
java框架整合错误:org.hibernate.AnnotationException: No identifier specified for entity 错误原因是因为在对VipOperatorDto进行对象关系映射的时候忘记加上主键@Id了。 这个错是hibernate的annotatio ...
分类:
编程语言 时间:
2020-01-12 15:02:24
阅读次数:
73
在按照文档执行php artisan migrate时报错。 SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: a ...
分类:
数据库 时间:
2020-01-12 11:42:14
阅读次数:
109
添加依赖后,队列中网络请求任务有依赖关系时,任务结束判定以数据返回为准还是以发起请求为准? waitUntilFinished方法容易误解。 依赖关系 执行结果 由上面log可知:任务结束判定以发起请求为准!数据返回是异步的,不受依赖关系影响! waitUntilFinished方法 当把上面代码 ...
分类:
其他好文 时间:
2020-01-08 18:47:39
阅读次数:
74
参数 全称 释义 说明-pl --projects Build specified reactor projects instead of all projects 选项后可跟随{groupId}:{artifactId}或者所选模块的相对路径(多个模块以逗号分隔) -am --also-make ...
分类:
其他好文 时间:
2020-01-07 17:52:36
阅读次数:
196
ClassPathBeanDefinitionScanner.java /** * Perform a scan within the specified base packages, * returning the registered bean definitions. * <p>This me ...
分类:
编程语言 时间:
2020-01-07 13:00:44
阅读次数:
57
{ "name": "sdasd", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "bui ...
分类:
Web程序 时间:
2020-01-06 23:20:38
阅读次数:
182