
错误解决
shmily_syw
这个作者很懒,什么都没留下…
展开
-
python错误:Cron expression must consist of 6 fields (found 7 in "0 0/3 * * * ? *")
在用spring写计划任务的时候,@Scheduled(cron="0 0/1 * * * ?")运行出错错误含义:cron表达式只能由6个域组成,而我写了7个域解决方法:最后一个域表示年,可以不写扩展在线cron表达式生成器:http://cron.qqe2.com/Cron表达式是一个字符串,字符串以5或6个空格隔开,分为6或7个域,每一个域代表一个含义,Cron有如下两种语法...原创 2019-06-03 13:58:05 · 29555 阅读 · 3 评论 -
python错误:Operator '==' cannot be applied to 'long,int', 'null'
if(id == null)这个问题是因为id是基本类型long,不是包装类型Long,所以不能为空,把long 改为Long,问题解决原创 2019-06-18 15:33:36 · 3554 阅读 · 0 评论 -
mysql错误:java.sql.SQLException: The server time zone value '�й���ʱ��' is unrecognized or represents
java.sql.SQLException: 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 configu...原创 2019-06-27 14:35:54 · 7147 阅读 · 9 评论 -
Spring Boot错误:Consider defining a bean of type '*.*.Dao' in your configuration
SpringBoot在启动项目的时候遇到了以下情况:APPLICATION FAILED TO START***************************Description:Field sysUserDao in com.iamapsycho.service.impl.SysUserServiceImpl required a bean of type 'com.iama...转载 2019-06-28 11:28:56 · 15905 阅读 · 2 评论 -
mysql错误: [Err] 1328 - Incorrect number of FETCH variables
在写存储过程时使用游标出错create procedure p2()begin declare id int; declare iname varchar(15); declare flag int default 0; -- 声明游标 declare mc cursor for select * from account; declare ...原创 2019-06-29 15:42:37 · 8072 阅读 · 0 评论