上一页 1 ··· 260 261 262 263 264 265 266 267 268 ··· 785 下一页
摘要: Exception in thread "main" java.lang.IllegalArgumentException: Source must not be null at org.springframework.util.Assert.notNull(Assert.java:115) at Test.getaVoid(Test.java:11) at Test... 阅读全文
posted @ 2016-09-14 16:14 沧海一滴 阅读(1367) 评论(0) 推荐(0)
摘要: 父类不能转换成子类 https://stackoverflow.com/questions/4862960/explicit-casting-from-super-class-to-subclass 如果使用转型,你其实就是在告诉编译器:“请相信我,我是一个专家,我知道我在做什么虽然我并不能保证不出 阅读全文
posted @ 2016-09-14 16:09 沧海一滴 阅读(2122) 评论(2) 推荐(0)
摘要: public static void main(String[] args) { System.out.println(new Random().nextInt(0)); } Exception in thread "main" java.lang.IllegalArgumentException: bound must be positive a... 阅读全文
posted @ 2016-09-13 17:42 沧海一滴 阅读(3760) 评论(0) 推荐(0)
摘要: redis-cli keys "*"|xargs redis-cli del tips: keys后面的*号,必须要加双引号,不然删不掉 阅读全文
posted @ 2016-09-13 10:15 沧海一滴 阅读(4796) 评论(0) 推荐(0)
摘要: 方法1:把SpringBoot中main方法所在的class不再继承org.springframework.boot.context.web.SpringBootServletInitializer即可 因为继承org.springframework.boot.context.web.SpringB 阅读全文
posted @ 2016-09-13 08:21 沧海一滴 阅读(18440) 评论(0) 推荐(0)
上一页 1 ··· 260 261 262 263 264 265 266 267 268 ··· 785 下一页