报错集合
dayaoK
开发小白
展开
-
padding 把 盒子撑开的解决方案
在盒子中添加box-sizing: border-box; 就可以解决了注意:宽度属性width和高度属性height仅适用于块级元素,对行内元素无效(img标签和input除外) 计算盒子模型的总高度时,还应考虑上下两个盒子垂直外边距合并的情况 如果一个盒子没有给定宽度/高度,就会用其父类的属性,这时padding不会影响盒子的大小原因:因为Div添加了内边距属性,Div的实际宽度=Div的初始固定值+边距值(高度同理)例如Div设定为宽度为100px,添加5px的上下左右内边距..原创 2020-11-11 10:38:35 · 2679 阅读 · 1 评论 -
MyBatis 模糊查询解决 % 语句错误问题
测试:原创 2020-08-01 16:04:20 · 373 阅读 · 0 评论 -
Vue取消eslint语法限制
由于vue对语法的限制过于严格,以至于在我第一次编译运行的时候一直编译失败,当然也包括一些警告:当然,这里的警告我是知道怎么回事,但是这个错误我就很不明白了,原来eslint是一个语法检查工具,但是限制很严格,在我的vue文件里面很多空格都会导致红线(红线可以关闭提示),虽然可以关闭,但是在编译的时候老是会跳出来,所以能关闭是最好的了。关闭方法:在build/webpack.bas...原创 2019-10-08 22:27:29 · 426 阅读 · 0 评论 -
MyBatis Generator 代码生成器生成表字段不正确或选择错数据库
https://blog.csdn.net/chenxue843400447/article/details/94621090原创 2019-09-12 19:37:34 · 776 阅读 · 0 评论 -
插件mybatis-generator 出现The server time zone value '�й���ʱ��' is unrecogni的解决方法
报错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 ...原创 2019-09-12 18:58:11 · 1751 阅读 · 0 评论 -
IntelliJ IDEA: 无法创建Java Class文件
原创 2019-06-23 22:48:35 · 489 阅读 · 0 评论 -
npm 切换淘宝镜像几种方式 (解决大多数npm无法下载包的办法)
淘宝 npm 地址:http://npm.taobao.org/如何使用有很多方法来配置npm的registry地址,下面根据不同情境列出几种比较常用的方法。以淘宝npm镜像举例:1.临时使用npm --registry https://registry.npm.taobao.org install express2.持久使用npm config set reg...转载 2019-05-23 10:10:33 · 5371 阅读 · 0 评论 -
hive 报错集
1.MetaException(message:Hive metastore database is not initialized. Please use schematool (e.g. ./sch配置好hive,第一次使用时,可能会出现以下错误:MetaException(message:Hive metastore database is not initialized. Plea...原创 2019-04-14 13:26:24 · 432 阅读 · 1 评论 -
IDM无下载悬浮条的彻底解决办法
在遇到这个问题的时候我在网上找了很多办法,重启电脑,重装软件很多次都不行,如果你也不行,就试试下面这个方法吧。地址栏输入chrome://flags/#network-service,找到Enable networkservice将这里选择禁用disabled,重启浏览器即可重启后,我们可爱的悬浮条出来了呢希望有帮到你...原创 2019-04-03 09:52:06 · 45696 阅读 · 20 评论 -
执行jar报错 Hadoop java.io.IOException
Error: java.io.IOException: Initialization of all the collectors failed. Error in last collector was :interface junit.framework.Test at org.apache.hadoop.mapred.MapTask.createSortingCollector...原创 2019-02-28 12:50:05 · 721 阅读 · 0 评论 -
maven报错 Missing artifact jdk.tools:jdk.tools:jar:1.8解决方案
在eclipse中建立Maven项目,遇到了Missing artifact jdk.tools:jdk.tools:jar:1.8。其他也没有报错,一脸懵逼。当我看到了这里:原因:tools.jar包是JDK自带的,pom.xml中以来的包隐式依赖tools.jar包,而tools.jar并未在库中,解决方案:在pom文件中添加如下代码即可。<groupId>j...原创 2019-02-27 21:42:27 · 728 阅读 · 0 评论 -
yum -list 报错
当你通过 ftp 对另一台主机配置 yum 源的时候报错显示如下:[root@client ~]# yum list Loaded plugins: fastestmirror^C^Ccd ^H^H^Hcd ^H^H^CCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=7...原创 2019-01-15 08:55:24 · 7666 阅读 · 4 评论 -
MyBatis 连接 数据库 报错 ### Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Caus
### Cause: java.sql.SQLException: Error setting driver on UnpooledDataSource. Cause: java.lang.ClassNotFoundException: Cannot find class: ${jdbc.driver}我这里是因为没有在mybatis-config.xml中配置在<configurati...原创 2019-01-14 01:01:24 · 4046 阅读 · 0 评论 -
WARN: Establishing SSL connection without server's
WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default ...原创 2019-01-17 10:22:46 · 19965 阅读 · 4 评论 -
jdbc 报错 (org.springframework.jdbc.IncorrectResultSetColumnCountException: Incorrect column count: )
在使用 SingleColumnRowMapper.newInstance() 的时候报错jdbc 报错信息: org.springframework.jdbc.IncorrectResultSetColumnCountException: Incorrect column count: expected 1, actual 3其实这样是不对的,应该为new...原创 2018-12-29 10:32:23 · 2050 阅读 · 0 评论