专注开发...
<pre code_snippet_id="331722" snippet_file_name="blog_20140507_1_4310081" name="code" class="sql">-- Create table create table TECHNOLOGYCOMPANY ( ID VARCHAR2(32) default SYS_GUID()
<h3>1、环境</h3> <p>tomcat6.0.8 + jdk6 + struts1 </p> <p><br></p> <h3>2、问题的产生</h3> <p>页面有两个异常的请求</p> <p></p> <pre code_snippet_id="331717" snippet_file_name="blog_20140507_1_7979055" name="code"
<pre code_snippet_id="295052" snippet_file_name="blog_20140416_1_2018223" name="code" class="sql">update product_info t set (t.salename,t.xsqy)=(select c.salename,c.xsqy from contract_erp c where
<p>1、打开配置文件</p> <p></p> <pre code_snippet_id="294457" snippet_file_name="blog_20140415_1_4397956" name="code" class="html">sudo gedit /etc/mysql/my.cnf</pre> <br> 2、修改配置文件 <p></p> <p></p> <p
<h2 style="margin:0px; padding:0px; color:rgb(54,46,43); font-family:Arial; line-height:26px"> <span style="color:rgb(26,26,26); font-family:helvetica,arial,freesans,clean,sans-serif; font-size:1
<h2><br></h2> <ol><li> <h2 style="margin-bottom:0cm">下载</h2> </li></ol> <p class="cjk" style="text-indent:0.74cm; margin-bottom:0cm">百度网盘地址:</p> <p class="cjk" style="text-indent:0.74cm; margi
<h3>1、首先上Oracle官网下载JDK</h3> <p><a target="_blank" href="http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html">http://www.oracle.com/technetwork/java/javase/download
<p>在Rainbow项目的过程中。进行新版本开发的时候,在Git中创建了一个0.2的版本进行管理。</p> <p><br></p> <p>但后来发现master版本不变,使用新的版本号进行源码管理会有一定的麻烦。如,我每次进行开发新的系统版本的时候,我都得把本地的源码迁移到新的系统版本分支中。</p> <p><br></p> <p>于是,我决定所有的源码更新及维护都在master
<p><span style="font-family:微软雅黑,Verdana,sans-serif,宋体; font-size:14px; line-height:22.399999618530273px">在执行 git push 时看到如下消息:</span></p> <p><span style="font-family:微软雅黑,Verdana,sans-serif,宋体;
<pre code_snippet_id="185412" snippet_file_name="blog_20140212_1_132731" name="code" class="sql">select rownum||'' as id,t.materialname as prodCode,t.ename as prodName,t.materialtype||'_'||t.group
<p></p> <h2 style="margin:0px; padding:0px; color:rgb(54,46,43); font-family:Arial; line-height:26px"> <span style="color:rgb(26,26,26); font-family:helvetica,arial,freesans,clean,sans-serif; fo
<p>在做eclipse插件开发的时候,有需要使用到json的处理。然后把以前web开发中用到的json包拿过来使用,发现在web开发时候没问题的代码,在eclipse插件开发时不能用了。、</p> <p>出现以下的异常:</p> <p></p> <pre code_snippet_id="157286" snippet_file_name="blog_20140115_1_9745
<h3>最新版本下载</h3> <p><a target="_blank" href="http://pan.baidu.com/s/1c0GcDMg&third=15">http://pan.baidu.com/s/1c0GcDMg&third=15</a><br></p> <p><br></p> <h3>相关信息</h3> <p><a target="_blan
<h3>插件获取</h3> <p>百度网盘:<a target="_blank" href="http://pan.baidu.com/s/1c0GcDMg&third=15"><span style="color:rgb(0,0,255)">http://pan.baidu.com/s/1c0GcDMg&third=15</span></a></p> <h3>开发流程
<p><span style="color:rgb(26,26,26); font-family:helvetica,arial,freesans,clean,sans-serif; font-size:13px; line-height:18px"><br></span></p> <h2><span style="color:rgb(26,26,26); font-family:hel
<h3>一、下载</h3> <p>百度网盘地址:</p> <p><a target="_blank" href="http://pan.baidu.com/s/1c0GcDMg&third=15">http://pan.baidu.com/s/1c0GcDMg&third=15</a><br></p> <p> </p> <h3>二、支持</h3> <p>1<spa
<p>系统运行一段时间后发现出现这样的异常:</p> <p>Couldn't get connection because we are at maximum connection count (150/150) and there are none available</p> <p><br></p> <p>解决方案:</p> <p>1、修改连接池的最大的连接数:</p> <p>
<p>在开发Eclipse插件时候,发现需要获取到Workspace下所有的项目。决定通过ResourcePlugin来获取。</p> <p><br></p> <p>1、导入ResourcePlugin所在的Jar包org.eclipse.core.resources_3.8.101.v20130717-0806.jar进lib目录。<br></p> <p><br></p> <p>
<h3>1、删除分支</h3> <div><br></div> <h4>1.1查看所有分支:</h4> <p><br></p> <p></p> <pre code_snippet_id="75671" snippet_file_name="blog_20131121_1_6020502" name="code" class="plain">git branch -a</pre>
解决方法:<br> 1:下面说一下解决问题的思路:点击project->clean清除部署文件<br> 2:检查project properties->java build path->default output folder<br> 3:检查project properties->java build path->libraries看所有的库包是否正
<p style="margin-top:0.5em; margin-bottom:0.5em; padding-top:0px; padding-bottom:0px; color:rgb(68,68,68); font-family:'Microsoft Yahei',Tahoma,Arial,Helvetica,STHeiti; font-size:14px; line-height
<pre name="code" class="html"><HTML> <BODY> <P> </P> <form name=fm_Info> <input type=text name=txtValue> </form> <script language=javascrip
<p>首先,找到数据删除前的一个时间点。</p> <p></p> <pre name="code" class="sql">select timestamp_to_scn(to_timestamp('2013-10-12 8:30:00', 'YYYY-MM-DD HH24:MI:SS')) from dual;</pre> <br> 如,我这里得到的点为36551273744。
<span style="font-family:Verdana,Arial,Helvetica,sans-serif; line-height:18px; background-color:rgb(245,250,254)">问题这样的: </span><br style="margin:0px; padding:0px; font-family:Verdana,Arial,Helvet
<p><span style="color:rgb(54,46,43); font-family:Arial; font-size:14px; line-height:24px; text-indent:28px">现象:</span></p> <p><span style="color:rgb(54,46,43); font-family:Arial; font-size:14px;
<pre id="question-content" style="white-space:pre-wrap; word-wrap:break-word; color:rgb(51,51,51); font-size:14px; line-height:26px; background-color:rgb(255,255,255)"><p style="font-size:18px">现象
<p style="line-height:28px; margin-top:0px; margin-bottom:10px; padding-top:0px; padding-bottom:0px; font-family:Arial,Helvetica,simsun,u5b8bu4f53; font-size:16px; background-color:rgb(252,252,252
原因及其解决办法:<br><br><br> 1.xml编码错误<br><br><br> 该xml是UTF-8编码的,如果该文件通过UltraEdit编辑后,会在无BOM头的UTF-8文件中加入BOM,但是DOM4j不认这个BOM(dom4j1.3),解决的办法可以通过升级dom4j到1.6解决www.dom4j.org<br><br><br> 什么是BOM?http://www.un
<p><br></p> <p>Annotation的方式是通过注解的方式把Struts2中的Action、Dao层的实现类、Service层的实现类交由Spring管理,不需要在配置文件中进行配置。但为了方便,事务的管理依然使用的是Schema的方式。如果有需要,可以参照4.3.2中的方式,使用@Transactional对service层进行事务管理。</p> <p><br></p>
<h2></h2> <h2><span style="font-weight:normal">5.1整合Spring与Hibernate</span></h2> <div><span style="font-weight:normal"><br></span></div> <h3><span style="font-weight:normal">5.1.1使用MyEclipse加入S
<p style="margin-top:0px; margin-bottom:0px; padding-top:0px; padding-bottom:0px; font-family:Arial; font-size:14px; line-height:26px"> 让VBOX支持USB</p> <p style="margin-top:0px; margin-bottom:0px
<h2>数据块(block)</h2> <p style="margin-top:10px; margin-bottom:10px; padding-top:0px; padding-bottom:0px; color:rgb(51,51,51); background-color:rgb(248,248,248); text-indent:28px; font-family:宋体; f
<p style="margin-bottom:0cm"><span style="font-family:Times New Roman,serif"> Spring</span>为我们开发者提供了多种<span style="font-family:Times New Roman,serif">AOP</span>的编程方式。我们该如何选择呢<span style="f
<p class="cjk" align="LEFT" style="margin-bottom:0cm; widows:0; orphans:0"><span style="font-family:'DejaVu Sans Condensed'"><span style="font-size:14px"> 基于</span></span><span style="font-
<p align="left" style="line-height:25px; margin-top:0px; margin-bottom:10px; padding-top:0px; padding-bottom:0px; color:rgb(51,51,51); font-family:Arial,Helvetica,simsun,u5b8bu4f53; font-size:14px
<h1><span style="font-family:Calibri,serif"><span lang="en-US">3.5.1BeanNameAutoProxyCreator</span></span></h1> <div><span style="font-family:Calibri,serif"><span lang="en-US"> 在之前的切面使用中,最
<p lang="zh-CN" align="JUSTIFY" style="margin-bottom:0cm; widows:0; orphans:0"><span style="color:#00000a"><span style="font-family:DejaVu Sans"><span style="font-size:10pt"> 在前面使用增强的时候,我们发现增强会
<h3 lang="zh-CN" class="cjk"> <a name="_Toc357859968"></a><span style="font-size:12px; font-family:Calibri,serif"><span lang="en-US"><br></span></span> </h3> <h1><span style="font-size:24px"><spa
<h2 lang="zh-CN" class="cjk"> <a name="_Toc357859956"></a><span style="font-family:Cambria,serif"><span lang="en-US">3.1</span></span>概念</h2> <p lang="zh-CN" style="margin-bottom:0cm"><span style
<p class="cjk" align="LEFT" style="margin-bottom:0cm; widows:0; orphans:0"><span style="color:#ff0000"><span style="font-family:'DejaVu Sans Condensed'"><span style="font-size:14px">通过</span></spa
<div style="color:rgb(51,51,51); font-family:Arial; font-size:14px; line-height:26px"> hive> select * from dummy;</div> <div style="color:rgb(51,51,51); font-family:Arial; font-size:14px; lin
<p>使用hive load从hdfs中load data的时候,hiveql如下:</p> <p></p> <pre name="code" class="sql">load data inpath 'hdfs://192.168.0.131:9000/hive/test.log' overwrite into table test_log partition(dt="20130703
<h1> <span style="font-family:Times New Roman,serif">1、</span>命名空间</h1> <p lang="zh-CN" align="JUSTIFY" style="margin-bottom:0cm; widows:0; orphans:0"><span style="color:#00000a"><span style="fon
<h4 lang="zh-CN" class="cjk" style="margin:0px; padding:0px; color:rgb(54,46,43); font-family:Arial; font-size:14px; line-height:26px"> <span style="font-family:Cambria,serif"><span lang="en-US">
<p><span style="font-size:14px">在使用HBase Shell的时候出现错误:</span></p> <p></p> <pre name="code" class="plain">ERROR: org.apache.hadoop.hbase.MasterNotRunningException: Retried 7 times</pre> <br><p><br
Eclipse:Run on Hadoop 没有反应原因:<br> hadoop-0.20.2下自带的eclise插件已过时。<br> 解决方案:<br> 1、下载正确的插件:<a href="https://issues.apache.org/jira/secure/attachment/12460491/hadoop-eclipse-plugin-0.20.3-SNAPSHOT.
配置完Hbase后,启动,JPS发现少了HMaster这个进程。查看了一下日志如下:<pre name="code" class="java">java.lang.IllegalArgumentException: Wrong FS: hdfs://192.168.0.131:9000/hbase, expected: hdfs://icache-9200.site:9000 at or
<pre name="code" class="java">package cn.framelife.hadoop; import java.io.IOException; import java.io.InputStream; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileSy
<pre name="code" class="java">package cn.framelife.hadoop; import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.FileStatus; import org.apache.hado
<p>解决方案:关闭hadoop NameNode的安全模式就行了。</p> <p><br></p> <p></p> <pre name="code" class="html">bin/hadoop dfsadmin -safemode leave</pre> <br><br>