ITeye博客

2012 年文章归档

共 4 篇文章

解决toad 在win7 64下的“You have no oracle clients installed”问题

前一段时间重装了系统。最近 打算使用toad操作数据库,但是提示“You have no oracle clients installed”。这个问题在没有重装系统前已经解决了这个问题。但这时怎么没有有在goole,baidu上搜到解决办法,而且也忘了之间将记录的文件保存到哪个录下了,唉...... 最终在还是在instantclient_11_1目录下搜到。总算找到了!! 这回可不能在忘了,要将它记录下来,同时也分享出来。 其实很简单,执行下面的reg文件即可。具体就不多说了,自己看吧。 Windows Registry Editor Version 5.00 [HKEY_LOCAL_MA…

2012-04-27 10:45 · 数据库

ora-01000:超出打开游标的最大数

最近在项目中用到了apache的common-dbcp框架,在spring的配置文件中,加入了dataSource的配置,如下: <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <!-- Connection Info --> <property name="driverClassName" value="${jdbc.driverClassName}" /> <property name="url" value="${jdbc.url}" /> <pr…

2012-01-16 17:23 · Java那点儿东西

org.springframework.web.struts.ContextLoaderPlugIn 和 org.springframework.web.con

转载至:http://www.blogjava.net/beijing2008/articles/317973.html org.springframework.web.struts.ContextLoaderPlugIn 和 org.springframework.web.con 是视图层加载sping的两种方式。 那么这两种方式谁的优先级高,从容器加载程度上看,是org.springframework.web.context.ContextLoaderListener 那么两种方式都被配置在项目中,会使用哪个一个呢? 答案是org.springframework.web.struts.C…

2012-01-11 15:23 · 编程语言

Could not find artifact com.sun:tools:jar:1.5.0

当你遇到Could not find artifact com.sun:tools:jar:1.5.0 这个问题时,是因为在jre中找不到的相应的包导致的。为什么会找不到呢?是eclipse在启动时默认是通过你安装的jre进行启动的,而jre中没有tools.jar这个包。 所以我们只要修改eclipse启动时使用jdk就可以了,具体操作如下: 在eclipse.in文件中增加下面的两行即可。 -vm D:/java/jdk160_05/bin/javaw.exe

2012-01-11 09:58 · 软件工程 · 开发工具