- 博客(3)
- 收藏
- 关注
原创 如何解决dubbo配置文件中Multiple annotations found at this line问题
在创建dubbo配置文件后,可能会发现如下的报错提示:Multiple annotations found at this line:- cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'.- sche
2017-01-11 18:05:30 8789 1
转载 java自定义注解
Java注解是附加在代码中的一些元信息,用于一些工具在编译、运行时进行解析和使用,起到说明、配置的功能。注解不会也不能影响代码的实际逻辑,仅仅起到辅助性的作用。包含在 java.lang.annotation 包中。1、元注解元注解是指注解的注解。包括 @Retention @Target @Document @Inherited四种。1.1、@Retention
2016-12-05 14:29:59 162
转载 读spring源码之—Assert.notNull
org.springframework.util.AssertAssert翻译为中文为"断言".用过JUNIT的应该都知道这个概念了.就是断定某一个实际的值就为自己预期想得到的,如果不一样就抛出异常.Assert经常用于:1.判断METHOD的参数是否属于正常值.2.JUNIT中使用.我发现SPRING1.2.6里面有BUG请看:org.springfram
2016-12-05 14:17:18 469
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人