更改数据库配置并创建好表及插入数据,运行chapter22显示以下异常 三月 26, 2018 721 下午 org.apache.catalina.core.StandardWrapperValve invoke 严重: Servlet.service() for servlet [dispatcher] in context with path [/Chapter22] threw exception [Request processing failed; nested exception is redis.clients.jedis.exceptions.JedisDataException: ERR Error running script (call to f_ca70ae779a14cab5beac3cc2cf270ef6c8c1daac): @user_script user_script attempt to compare nil with number ] with root cause redis.clients.jedis.exceptions.JedisDataException: ERR Error running script (call to f_ca70ae779a14cab5beac3cc2cf270ef6c8c1daac): @user_script user_script attempt to compare nil with number 错误定在这一行 // 执行脚本,返回结果 Object res = jedis.evalsha(sha1, 1, redPacketId + “”, args); 谁遇到了此问题?
各位大侠,我22章的例子没运行起来。使用全注解,好像注解的这些配置没有加入进去,没有起作用,连controller可能也没有找到,是什么原因呢?盼望解答,谢谢大家!!! 报错误:The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
为什么我在写案例的时候,spring中@ComponentScan注解不能使用多个,而书上239页的解释是可以使用多个?是不是我忽略了什么还是书上解释的有问题???
更改数据库配置并创建好表及插入数据,运行chapter22显示以下异常
21 下午 org.apache.catalina.core.StandardWrapperValve invoke
user_script
attempt to compare nil with number ] with root cause
user_script
attempt to compare nil with number
三月 26, 2018 7
严重: Servlet.service() for servlet [dispatcher] in context with path [/Chapter22] threw exception [Request processing failed; nested exception is redis.clients.jedis.exceptions.JedisDataException: ERR Error running script (call to f_ca70ae779a14cab5beac3cc2cf270ef6c8c1daac): @user_script
redis.clients.jedis.exceptions.JedisDataException: ERR Error running script (call to f_ca70ae779a14cab5beac3cc2cf270ef6c8c1daac): @user_script
错误定在这一行
// 执行脚本,返回结果
Object res = jedis.evalsha(sha1, 1, redPacketId + “”, args);
谁遇到了此问题?
怎么没视频
各位大侠,我22章的例子没运行起来。使用全注解,好像注解的这些配置没有加入进去,没有起作用,连controller可能也没有找到,是什么原因呢?盼望解答,谢谢大家!!!
报错误:The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
另外我在springboot1.5.6 版本,注解配置的项目,不存在service自调用失效的问题,出现错误即回滚,不知道作者发现了这个问题没有?还是只有我这样?希望可以共同讨论一下