当前标签: You
平时代码中用不到设计模式?Are you kidding me?
引子 平时我是个反应非常慢的人。有多慢呢?大概是两年前有次团队内部开会时,我听到同学说平时代码中用不到设计模式,我当时没有回答。两年后我终于反应过来了:“Are you kidding me?我每天都在用!” 应用场景 建造者模式 写一个接口,入参是一大堆,什么都有。这是长期积累下来的代码,参数都提供...
2019-06-12 09:40
阅读(129)
解决The goal you specified requires a project to execute but there is no POM in this directory错误的一种方法!
在使用Jenkins自动构建Java项目时,出现以下的错误。错误日志如下: + /opt/maven/apache-maven-3.5.4/bin/mvn clean package -U -e -B -Dmaven.test.skip=true [INFO] Error stacktraces are tur...
2018-10-17 19:59
阅读(3169)
You have not accepted the license agreements of the following SDK components解决办法
因为某些原因,我在ionic+cordova项目用DOS命令移除了android平台再重新添加平台,之后编译的时候出了这么个问题,以下是输出列表中的内容: A problem occurred configuring project ':CordovaLib'. 1> > You have not accept...
2018-08-10 11:07
阅读(212)
You must reset your password using ALTER USER statement before executing this statement.
MySQL 5.7之后,刚初始化的MySQL实例要求先修改密码。否则会报错: mysql> create database test; ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executi...
2018-06-24 18:26
阅读(234)
linux mysql5.7及之后版本root用户密码过期(You must reset your password using ALTER USER)解决办法
在linux初始化完成mysql之后,使用默认随机生成的root密码登录mysql,会出现无法执行任何命令的情况: You must reset your password using ALTER USER statement before executing this statement. 然而此时的root...
2018-06-19 18:34
阅读(312)