- 博客(28)
- 资源 (2)
- 收藏
- 关注
原创 Spring boot + nacos中文注释报错
现象:2021-06-29 13:00:00 [LAPTOP-PGQVAIOM] [background-preinit] [,] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 6.1.5.Final2021-06-29 13:00:01 [LAPTOP-PGQVAIOM] [main] [,] INFO c.a.n.client.config.impl.LocalConfig
2021-06-29 13:40:51
3060
1
原创 char的ASCII码值=65279,显示是一个空字符
问题:文件读取的第一行的第一个字符不正确 原因:UTF8+BOM文件格式读取的第一个字符的ASCII码为65279 解决:reader = new BufferedReader(new InputStreamReader(in, cs));String line = reader.readLine();line = line.trim();// UTF8+BOM文件格式兼容,第一个字符的A
2017-01-19 12:45:15
5130
原创 前端页面获取web根路径
String basePath = request.getScheme() + "://" + request.getServerName(); if (request.getServerPort() != 80) { basePath += ":" + request.getServerPort(); } basePath +
2016-12-20 16:34:10
2621
原创 MySQL jdbc连接异常信息中文乱码
现象: MySQL jdbc连接异常信息中文乱码java.sql.SQLException: Incorrect integer value: 'ä½ å¥½' for column 'user_id' at row 1 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at com.mysql.jd
2016-11-23 15:16:11
2065
原创 1. MySQL在navicat中text类型不显示问题
MySQL在navicat中text类型不显示问题CREATE TABLE `test` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `msg` text COLLATE utf8_bin, `boolean` bit(1) NOT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB AUTO_INCREMEN
2016-11-14 15:02:35
7657
2
原创 常用数据库操作比较
表查询-- MS SQL Serverselect * from "数据库名"."dbo/schema"."表名"-- Oracleselect * from "schema/用户名"."表名"@"数据库/实例名"-- Mysqlselect * from `数据库名`.`表名`分页查询参数:pageNo={1,2,...}, pageSize-- oraclestart=(pa
2016-11-10 11:55:06
343
转载 app store发布注意事项
app store发布注意事项参考:http://blog.youkuaiyun.com/daiyelang/article/details/37658093
2016-10-20 14:05:23
318
原创 linux笔记
命令 查看是否安装命令或软件[root@demo10 /]# rpm -qa|grep wgetwget-1.12-1.8.el6.x86_64[root@demo10 /]#
2016-10-20 11:41:18
252
原创 rpm笔记
rpm命令 rpm -ivh example.rpm 安装 example.rpm 包并在安装过程中显示正在安装的文件信息及安装进度;
2016-10-20 11:28:47
260
原创 2.SQL Server Type 4 JDBC Driver sqlserver jdbc连接参数
参考:https://docs.oracle.com/cd/E13157_01/wlevs/docs30/jdbc_drivers/mssqlserver.html#wp1098977Table 3-1 SQL Server Connection Properties PropertyDescriptionAlway
2016-10-19 17:03:15
2687
原创 1. MySQL连接超时&连接参数
参数名称 参数说明缺省值最低版本要求user数据库用户名(用于连接数据库) 所有版本password用户密码(用于连接数据库) 所有版本useUnicode是否使用Unicode字符集,如果参数characterEncoding设置为gb2312或gbk,本参数值必须设置为truefalse1.1g
2016-10-19 15:36:10
607
原创 mysql service 启动
[root@00 WEB-INF]# /etc/init.d/mysqld statusmysqld is stopped[root@00 WEB-INF]# /etc/init.d/mysqld startStarting mysqld: [ OK ][root@00 WEB-INF]# /etc/in
2016-10-18 10:16:19
843
原创 com.microsoft.sqlserver.jdbc.SQLServerException: 驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“java
九月 06, 2016 9:59:29 上午 com.microsoft.sqlserver.jdbc.TDSChannel enableSSL信息: java.security path: C:\Program Files\Java\jdk1.8.0_101\jre\lib\securitySecurity providers: [SUN version 1.8, SunRsaSign ver
2016-09-06 12:17:18
20838
1
原创 eclipse debug进去断点是提示是否进入debug视图的设置恢复
eclipse debug进去断点是提示是否进入debug视图的设置恢复
2016-09-04 00:30:35
5377
原创 maven jetty run
<properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <jetty.version>7.3.0.v20110203</jetty.version> </properties> <!-- jetty start --> <de
2016-08-31 23:03:43
456
转载 文章标题
1、Scheduler的配置<bean class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> <property name="triggers"> <list> <ref bean="testTrigger"/> </
2016-08-31 16:56:08
246
原创 java.security.NoSuchAlgorithmException: Algorithm DH not available
问题: [ERROR] [2016-08-31 12:41:58] [ExecCmdUtil.java:97] [main] close stdReader JSchException com.jcraft.jsch.JSchException: Session.connect: java.security.NoSuchAlgorithmException: Algorithm DH not a
2016-08-31 12:45:36
7226
原创 常用URL
echartshttp://echarts.baidu.com/index.htmljQuery APIhttp://www.php100.com/manual/jquery/http://jquery.cuishifeng.cn/index.htmljQuery ligerUI APIhttp://api.ligerui.com/前台js校验http://ww
2016-06-22 09:39:56
420
原创 Maven项目有工程报错,但是不影响运行
问题描述: maven java ee configuration problem An error occurred while filtering resources解决方案: 使用update project得到解决
2016-04-29 15:41:08
1155
原创 Office Enable异常,打开excel或者word时office卡死的情况
打开excel或者word时office卡死的情况,使用Enable Editing 1.excel文件菜单 2.word文件菜单
2016-04-27 12:09:20
2820
原创 STS启动失败code=13
问题描述: STS启动时出现下面的报错java was started but returned exit code13 CMD查看java -version 和 javac -version发现版本不一致,所以导致报错出现的原因是java版本更新造成的
2016-04-27 11:41:45
2259
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人