自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

hejinwei_1987的专栏

好记性不如烂博客

  • 博客(6)
  • 资源 (2)
  • 收藏
  • 关注

原创 解决 ORA-12519, TNS:no appropriate service handler found

ORA-12519, TNS:no appropriate service handler foundThe Connection descriptor used by the client was:MyEclipse经常报这个错,原因是连接数太小了查看当前的连接数select value from v$parameter where name = 'process

2013-09-26 15:51:57 2215

原创 断网或断电后,oracle不能正常连接

1.lsnrctl status,查看监听状态,这时看到服务block了2.cmd控制台中输入: set ORACLE_SID=orclsqlplus "/as sysdba"     如果出现: ORA-28056:Writing audit records to Windows EventLog failed             点击“我的电脑”》“管理工具”》“事件查看器

2013-09-25 20:42:47 2080

原创 oracle 11 g, 无法导出空表解决方案

oracle 11 g挺蛋疼的,用exp导dmp文件的时候,不能把空表导出来,在网上查了些解决方案,感觉都不大靠谱,只好丑中选优,选了下面这种方案。select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0;执行上面那条语句,会得到一些alter语句,看语句的意思,应该

2013-09-22 16:32:43 786

原创 myeclipse里能启动,单独放到tomcat中不能启动

在myeclipse中能启动,单独放到tomcat中不能启动如果报内存溢出,在catalina.bat中加 set JAVA_OPTS=-server -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m我是通过上面的方法就启动好了如果还是不能启动,在startup.bat中加 set JAVA_HOME = C:\

2013-09-16 17:53:44 1112

转载 WSSERVLET11:failed to parse runtime descriptor: java.lang.LinkageError

MyEclipse 建立的JAX-WS webservice工程,到其他机器tomcat中无法启动--LinkageError错误内容:严重: WSSERVLET11:failed to parse runtime descriptor: java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootst

2013-09-09 17:43:37 7098

原创 windows下 打war包

进入tomcat的webapps目录jar -cvf abc.war ./*abc.war是自己给项目命的名

2013-09-04 21:01:06 2285

perf4j jar包

perf4j jar包 目前项目使用的 绝对能用

2015-09-18

MyEclipse_MyBatis_Generotor

把文件夹中内容放到eclipse/MyEclipse对应的文件夹中,在eclipse/MyEclipse中新建->Other->MyBatis XXX,在生成的xml中填写数据库配置信息(别忘了配置驱动jar包),右键Generator MyBatis XXX 生成。以下是我的例子: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd" > <generatorConfiguration > <classPathEntry location="/Users/jinweihe/plan/WebRoot/WEB-INF/lib/mysql-connector-java-5.1.9.jar" /> <context id="context1" > <!-- 去掉那些没用的注释 --> <commentGenerator> <property name="suppressAllComments" value="true" /> </commentGenerator> <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://127.0.0.1:3306/plan" userId="root" password="root" /> <javaModelGenerator targetPackage="com.hjw.plan.mybatis.model" targetProject="plan" /> <sqlMapGenerator targetPackage="com.hjw.plan.mybatis.mapper" targetProject="plan" /> <javaClientGenerator targetPackage="com.hjw.plan.mybatis.dao" targetProject="plan" type="XMLMAPPER" /> <table tableName="plans" domainObjectName="Plan" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false" > <property name="useActualColumnNames" value="true"/> </table> <table tableName="friendships" domainObjectName="Friendship" enableCountByExample="false" enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false" selectByExampleQueryId="false" > <property name="useActualColumnNames" value="true"/> </table> </context> </generatorConfiguration>

2015-08-09

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除