Fight With Me!!!

导航

上一页 1 ··· 63 64 65 66 67 68 69 70 71 ··· 106 下一页

2016年5月28日 #

Linux下如何用vi编辑和保存文件

摘要: vi是Linux终端下或控制台下常用的编辑器,基本的操作方式为:vi /路径/文件名 例如,vi /etc/fstab表示显示/etc/fstab文件的内容。使用键盘上的Page Up和Page Down键可以上下翻页;按下Insert键,可以见到窗口左下角有“Insert”字样,表示当前为插入编辑 阅读全文

posted @ 2016-05-28 16:15 nickTimer 阅读(563) 评论(0) 推荐(0) 编辑

对Spring的IoC和DI最生动的解释

摘要: 首先想说说IoC(Inversion of Control,控制倒转)。这是spring的核心,贯穿始终。所谓IoC,对于spring框架来说,就是由spring来负责控制对象的生命周期和 对象间的关系。这是什么意思呢,举个简单的例子,我们是如何找女朋友的?常见的情况是,我们到处去看哪里有长得漂亮身 阅读全文

posted @ 2016-05-28 16:13 nickTimer 阅读(164) 评论(0) 推荐(0) 编辑

java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/TextUtils

摘要: java.lang.NoSuchMethodError: com.opensymphony.xwork2.ActionContext.get(Ljava/lang/String;)Ljava/lang /Object;”异常,导致该异常的是jsonplugin的jar包与Struts2的jar包不匹 阅读全文

posted @ 2016-05-28 16:12 nickTimer 阅读(1412) 评论(0) 推荐(0) 编辑

Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces

摘要: 问题解决:缺少jar包 cglib-2.1.3.jar 阅读全文

posted @ 2016-05-28 16:08 nickTimer 阅读(168) 评论(0) 推荐(0) 编辑

Class org.apache.struts2.json.JSONWriter can not access a member of

摘要: 异常形式: Class org.apache.struts2.json.JSONWriter can not access a member of * 或是 Class com.googlecode.jsonplugin.JSONWriter can not access a member of c 阅读全文

posted @ 2016-05-28 16:07 nickTimer 阅读(204) 评论(0) 推荐(0) 编辑

java.lang.ClassNotFoundException: org.hibernate.annotations.common.reflection.MetadataProvider

摘要: Caused by: java.lang.NoClassDefFoundError: org/hibernate/annotations/common/reflection/MetadataProvider at java.lang.Class.getDeclaredConstructors0(Na 阅读全文

posted @ 2016-05-28 16:05 nickTimer 阅读(380) 评论(0) 推荐(0) 编辑

ORA-12545:Connect failed beacuse target host or object does not exist

摘要: 更换计算机名,重新启动系统后 oracle 的监听器就无法正常启动, 总是提示ORA-12545:Connect failed beacuse target host or object does not exist,每次监听器启动完就自动又关闭。打开oracle 目录 D:\ORACLE\ora9 阅读全文

posted @ 2016-05-28 16:03 nickTimer 阅读(915) 评论(0) 推荐(0) 编辑

Hibernate java.lang.NoSuchFieldError: INSTANCE

摘要: 在使用hibernate3.6.2是我遇到了一个有趣的错误java.lang.NoSuchFieldError: INSTANCEat org.hibernate.type.BasicTypeRegistry.<init>(BasicTypeRegistry.java:94)at org.hiber 阅读全文

posted @ 2016-05-28 16:02 nickTimer 阅读(379) 评论(0) 推荐(0) 编辑

Spring的annotation用在set方法上 hibernate的annotation用get方法上

摘要: 1.Spring的annotation用在set方法上 2.hibernate的annotation用在get方法上 阅读全文

posted @ 2016-05-28 16:00 nickTimer 阅读(203) 评论(0) 推荐(0) 编辑

@Resource和@Autowired

摘要: @Resource的作用相当于@Autowired,只不过@Autowired按byType自动注入,而@Resource默认按 byName自动注入罢了。@Resource有两个属性是比较重要的,分是name和type,Spring将@Resource注解的name属性解析为bean的名字,而ty 阅读全文

posted @ 2016-05-28 15:57 nickTimer 阅读(156) 评论(0) 推荐(0) 编辑

上一页 1 ··· 63 64 65 66 67 68 69 70 71 ··· 106 下一页