面向对象基础 基础内容介绍详见一下两篇博文: 面向对象初级篇 面向对象进阶篇 其他相关 一、isinstance(obj, cls) 检查是否obj是否是类 cls 的对象 ? 1 2 3 4 5 6 class Foo(object): pass obj = Foo() isinstance(ob ...
分类:
编程语言 时间:
2019-04-04 09:43:36
阅读次数:
180
这个错误是 org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unexpected failure during bean definition parsi... ...
分类:
移动开发 时间:
2019-03-07 17:41:34
阅读次数:
784
组件中箭头函数的使用 不要使用箭头来定义任意生命周期钩子函数; 不要使用箭头来定义一个 methods 函数; 不要使用箭头来定义 computed 里的函数; 不要使用箭头定义 watch 里的函数; 不要对 data 属性/函数 使用箭头; 上面的函数中使用箭头,会导致 this 捕获不到 Vu ...
分类:
其他好文 时间:
2019-01-29 18:08:34
阅读次数:
156
控制台异常: parsing XML document from class path resource [applicationtext.xml]; nested exception is java.io.FileNotFoundException: class path resource [ap ...
分类:
移动开发 时间:
2019-01-25 23:19:47
阅读次数:
318
FlashPlayer Translation(s): English - Español - Français - Italiano - Русский - 简体中文 Flash > Adobe Flash Player Please note that Flash will be EOL at ...
分类:
其他好文 时间:
2019-01-19 21:12:39
阅读次数:
207
原因:log4j-over-slf4j和slf4j-log4j12是跟Java日志系统相关的两个jar包,如果同时出现,就可能会引起堆栈异常 解决:找到依赖冲突发生位置,排除一个即可。 问题是 如何找到依赖冲突,参照网上办法: https://blog.csdn.net/lwj_zeal/artic ...
分类:
编程语言 时间:
2019-01-14 23:13:46
阅读次数:
676
可以利用SQL的For xml直接生成HTML结构,比如我想生成如下结构: 相应的SQL代码如下: 由于字段ID为数值类型,所以要用lTrim转换成字符类型,再进行字符连接。 ...
分类:
Web程序 时间:
2019-01-14 23:02:15
阅读次数:
174
No.3 启动报错 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'runtimeServiceBean' defined in class path r ...
分类:
编程语言 时间:
2019-01-10 14:00:05
阅读次数:
283
1、错误描述 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngineConfiguration' defined in class path resou ...
分类:
编程语言 时间:
2019-01-04 18:40:21
阅读次数:
551