- 博客(32)
- 收藏
- 关注
原创 mysql 报错2006, ‘MySQL server has gone away‘
个人情况:sql运行时间过长导致的,需要配置一下属性:max_allowed_packet。找到my.ini文件,添加如下。
2023-06-05 16:38:03 147
原创 vxe-table合并行后错位
使用vxe-table的属性:span-method合并行,之后下拉后会错位原因:缺少配置:scroll-y="{enabled: false}"
2021-12-28 14:15:41 2186 2
原创 sql server链接oracle
一、下载oracle客户端,并配置TNS(我下的是WINDOWS.X64_193000_client.zip) Oracle Database 19c Download for Microsoft Windows x64 (64-bit) 使用图像化配置TNS:1、管理员身份打开cmd,2、输入netca,3、在弹出窗中选择【本地...】,然后点下一步,知道出现下面界面,输入数据库名(要连接的Oracle数据库名称),然后点下一步,选择【TCP】后点击下一步,输入主机...
2021-04-25 09:45:15 2711
原创 linux初搭建记录一
一、网卡设置centos7中网卡命名格式已改为:ifcfg-ens***vim ifcfg-ens192;按键:i 进行编辑按ESC退出编辑;SHIFT+: 然后输入 wq 回车sudo systemctl restartnetwork 重启网卡测试:ping www.baidu.com;...
2021-02-25 22:49:50 82
原创 远程MySQL报错:is not allowed to connect to this MySQL server
原因:远程MySQL设置不允许远程:解决:一、登录mysql :mysql -u root -p二、然后使用命令--允许指定IP连接:GRANT ALL PRIVILEGES ON *.* TO 'root'@'允许连接的ip地址' IDENTIFIED BY '允许连接的密码' WITH GRANT OPTION;刷新命令:flush privileges;或者允许所有连接:GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED B.
2020-11-23 10:58:18 97
原创 org.hibernate.mapping.JoinedSubclass cannot be cast to org.hibernate.mapping.RootClass
项目启动报错:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'easypoiDictService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not auto...
2020-08-10 14:09:21 554
原创 奇葩问题
遇到奇葩问题,生产服务器报错,但是本地没事八月04,20202:53:46下午org.apache.catalina.core.StandardWrapperValveinvoke严重:Servlet.service()forservlet[restSpringMvc]incontextwithpath[/pm]threwexceptionjava.lang.NullPointerExceptionatcom.alibaba.druid.suppo...
2020-08-04 17:23:04 115
原创 webservice对接远程服务端接口
公司需求对接第三方接口,使用webservice,初次使用特此记录,以作后期学习。eclipse开发一。创建webservice客户端首先向对方要.wsdl文件(文件放到项目中)或?WSDL路径项目右击上图中service definition输入?WSDL路径或点击右侧Browse找到.wsdl文件。注意箭头指的方向是项目名;然后点击finish,后会在项目中自动生成文件和JAR包,主要使用xxxxLocator文件创建对象链接,获取对应方法用二。组..
2020-07-01 22:17:26 366
原创 Could not initialize class freemarker.core.BuiltIn
问题:项目运行报错org.springframework.web.util.NestedServletException:Handlerprocessingfailed;nestedexceptionisjava.lang.NoClassDefFoundError:Couldnotinitializeclassfreemarker.core.BuiltIn...
2020-05-08 11:11:51 409
原创 navicat Premium及Microsoft SQL Server Management Studio还原SQL Server备份数据(.bat)
一.naicat备注:文件样式,无法访问可复习到其他地方 Microsoft SQL Server\Microsoft SQL Server2008\MSSQL10.MSSQLSERVER\MSSQL\DATA ---sql server安装时设置的地址二.Micrisift...
2020-04-21 13:47:37 958 1
原创 JAVA二维数组与稀疏数组转换,保存稀疏数组到磁盘联系笔记
public static void main(String[] args){ int array1[][] = new int[11][11]; array1[1][5] = 1; array1[2][6] = 2; int sum = 0; for(int i=0;i<11;i++) { ...
2020-01-02 16:01:08 342
原创 双引号内的单引号转义
多引号内的单引号转义&apos;--》单引号转义&quot;--》双引号thtml+="<input type='text' autocomplete='off' value='' name='selGetDate' id='stb0' onfocus='WdatePicker({ dateFmt:'yyyy-MM-dd', minDate:'#F{$dp.$D...
2018-08-13 16:49:40 1916
原创 ailiyun上传报错:com.aliyuncs.exceptions.ClientException: SDK.ServerUnreachable
获取ailiyun图片上传报错:2018-05-10 18:48:00.601 [http-nio-8080-exec-2] INFO org.apache.http.impl.execchain.RetryExec - Retrying request to {s}->https://sts.aliyuncs.com:4432018-05-10 18:48:00.602 [http-...
2018-05-10 19:14:56 20476 1
原创 ssm maven项目 maven打包会漏掉mybatis的Mapper.xml文件
由于MAVEN的机制,打包时会过滤掉mapper.xml文件。可以解决方法一,讲.xml文件存放在文件下二,在pom.xml文件中的</build>标签中添加一下<resources> <resource> <directory>src/main/java</directory>...
2018-04-25 14:48:40 380
原创 java.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListener
maven项目起到报错java.lang.ClassNotFoundException: org.springframework.web.context.request.RequestContextListener个人解决方法:删除后 按alt+f5 --》ok 然后重新部署项目
2018-04-24 17:26:19 995
原创 To see the full stack trace of the errors, re-run Maven with the -e switch.
maven项目打包遇到问题:[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project icop: Compilation failure: Compilation failure: [ERROR] /E:/Xunlan/...
2018-04-23 18:25:49 8408
原创 mybatis generator自动创建代码连接mysql6.0+问题
配置文件注意:<?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...
2018-03-02 13:26:12 208
原创 Java+FlexPaper+swfTools读取中文文档
注意:显示页面区别:SwfFile : decodeURI('')与SwfFile : escape('')区别
2018-02-06 18:19:36 164
原创 Failed to load JavaHL Library. These are the errors that were encountered:
创建maven项目报错:Failed to load JavaHL Library.These are the errors that were encountered:no libapr-1 in java.library.pathno libapriconv-1 in java.library.pathno libeay32 in java.library.pathno s
2018-02-06 10:00:47 1203
原创 ajax请求返回页面
jsp用AJAXA请求后台返回后页面显示页面而不是和预想的弹框,如下:{"code":2,"errorCode":2004,"errorMsg":"产品类别已存在","data":{}}错误:当前js方法内有错误,未定义的变量等
2018-01-31 09:33:29 2146
原创 css ,js无效报错
Resource interpreted as Stylesheet but transferred with MIME type text/html: "http://localhost:8080/**/**/css/style.css".Uncaught SyntaxError: Unexpected token 过滤器过滤掉了
2018-01-19 09:45:21 635
原创 Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
spring用注解形式,需要在实现类中添加注解,而不是接口中例:MSysUserRoleServiceImpl implements MSysUserRoleService应该是@serviceMSysUserRoleServiceImpl
2018-01-16 14:14:21 4278
原创 mybatis-generator自动生成报错
使用mybatis-generator自动生成是报错:Table configuration with catalog null, schema null, and table ****did not resolve to any tables表格不存在(注意配置文件中的表名于数据库中的表名有无差别,“__”于"_")
2018-01-13 16:46:11 3767
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人