- 博客(13)
- 问答 (1)
- 收藏
- 关注
原创 CentOS7安装Oracle11g一次性通过详细图文教程及安装过程中可能遇到的坑
1 准备工作1.1 环境准备VMware-workstation-full-15.5.2.exe CentOS-7-x86_64-DVD-1511.iso linux.x64_11gR2_database_1of2.zip linux.x64_11gR2_database_2of2.zip Xmanager Power Suite 6(个人喜好)1.2 安装ORACLE准备以...
2020-04-07 20:41:35
4186
原创 Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvid
最近有一个老项目做二开,项目使用了SSH架构,c3p0作为数据库连接池,但是项目启动的时候,tomcat会卡在下面这行代码:Initializing connection provider: org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider很久之后,tomcat会抛出异常:Caused by: ...
2018-09-26 15:58:18
2431
原创 解决maven+springmvc+log4j多配置文件log4j日志信息不能输出到文件和控制台的全过程
最近做了一个项目,使用log4j作为日志管理工具。一开始日志功能正常,但是项目到后期的时候需要引用公司的jar包,包引入之后自己的日志配置文件就不生效了。在看本博客前请确保log4j环境配置正常:commons-logging-1.2.jarlog4j-1.2.17.jarslf4j-log4j12-1.7.21.jarslf4j-api-1.6.4.jar且在web.xml中添加了监听:<...
2018-05-15 18:57:30
3309
原创 Spring Boot 启动报错 Cannot determine embedded database driver class for database type NONE
Spring Boot 启动报错 Cannot determine embedded database driver class for database type NONE
2017-12-01 11:30:42
2834
原创 java中Object类型转String类型
public String objToString(Object param) { String result = ""; BigDecimal re = new BigDecimal(0); DecimalFormat df = new DecimalFormat("#.000"); if (param instanceof Integer) { int value =
2017-11-20 15:53:09
1127
转载 java上传文件到文件夹判断文件夹是否存在,不存在则创建
// 判断文件夹是否存在 public static void judeDirExists(File file) { if (file.exists()) { if (file.isDirectory()) { System.out.println("dir exists"); } else {
2017-10-10 11:35:18
4320
转载 java导入excel格式化单元格数据
/** * 格式化cell数据 * * @param cell * @return */ private String getCellVal(Cell cell, int cellNum) { Object obj = null; FormulaEvaluator evaluator = book.getCreationHelper().createFormulaE
2017-10-10 11:33:17
940
转载 java 对象转map,map转对象
java对象转map:/** * JavaBean对象转化成Map对象 * * @param javaBean * @return */ @SuppressWarnings({ "rawtypes", "unchecked" }) public static Map java2Map(Object javaBean) { Map map = new HashMap
2017-10-10 11:28:34
7393
原创 html5 video响应式
用bootstrap写一个响应式网站,其中一个页面以video标签作为背景。但是发现video不能随着页面实现响应式,后来在网上找了很久,才发现只要为video标签设置object-fit:fill;样式就可以了。
2017-07-19 15:18:23
1279
原创 easyui datagrid合并行进入可编辑模式错位问题
easyui datagrid合并行进入可编辑模式错位问题,只需要在每次结束行编辑时,重新设定行合并即可。加载datagrid: $("#datagrid").datagrid({ rownumbers : false, pageSize : 100, pageList : [100 ,200], pagination : false, singleSelec
2016-12-06 14:24:23
4642
4
原创 org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.serv
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'treeController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factor
2016-10-18 10:29:57
887
空空如也
请问java如何解析udp报文中的Unsigned short?
2020-11-27
TA创建的收藏夹 TA关注的收藏夹
TA关注的人