`
arpenker
  • 浏览: 378250 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
大量插入数据时报错:连接池异常。 2022-09-02 17:19:51 [ERROR] - The driver was unable to create a connection due to an inability to establish the client portion of a socket.   This is usually caused by a limit on the number of sockets imposed by the operating system. This limit is usually configurable.    For ...

java键盘机器人

package com.yuexiu.yxdp.rpt.behavior.web.rest; import java.awt.AWTException; import java.awt.Robot; import java.awt.event.KeyEvent; import java.util.Calendar; import java.util.Date; import java.util.Timer; import java.util.TimerTask; public class Test1 { private Robot robot = null ...

java常用快捷键

 IDEA中常用快捷键 psvm —— 用来快速写一个main函数   例如:输入psvm后按回车,就会直接生成 “ public static void main(String[] args) ”这样一个语句。   快捷键二: sout —— 用来快速写一个println函数   例如:输入sout后按回车,就会直接生成 “ System.out.println( ); ” 这样一个语句。   快捷键三: fori —— 用来快速写一个for循环   例如:输入fori后按回车,就会直接生成 “ for(int i=0;i< ;i++) ” 这样一个语句。 ...
 Java的Runtime.getRuntime().exec(commandStr)可以调用执行cmd指令。 cmd /c dir 是执行完dir命令后关闭命令窗口。 cmd /k dir 是执行完dir命令后不关闭命令窗口。 cmd /c start dir 会打开一个新窗口后执行dir指令,原窗口会关闭。
 The POM for cn.abc:2.3.1-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details     The POM for cn.com.xxx:abc:jar:2.3.1-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details ...
IDEA报Could not autowire. No beans of 'ProductCategoryMapper' type found(详细分析).   今天在写springboot案例的时候发现了Could not autowire. No beans of 'ProductCategoryMapper' type found.   意思为@Autowired没有起效,不能自动注入,beans对象的类型没有找到       上网查询资料发现可能错误如下:   1、@Service注解的包倒错了 正确的包为:   import org.springframew ...
把Mysql安装在服务器上,然后在本地访问,发现提示Host '***' is not allowed to connect to this MySQL server, 错误提示很明确,就是目标主机上的Mysql服务不允许连接。 1. 打开命令提示符,执行Mysql -uroot -proot命令(如果提示Mysql不是内部或外部命令什么的,需要设置环境变量),输入mysql的用户名root和密码登录进去。 2. 执行use mysql; 切换数据库。 3. 查询user表,看host和user情况,如下: mysql>

excel读取时报错

org.apache.poi.poifs.filesystem.NotOLE2FileException: Invalid header signature; read 0xB3FBC309EBC2FAB4, expected 0xE11AB1A1E011CFD0 - Your file appears not to be a valid OLE2 document   这个问题POI抛出来的异常。   1。手动另存可解决。 2。在xlS执行每段增加一小段文字。   自动化就不知道咋整了。  
java.sql.SQLException: The server time zone value '�й���׼ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.   ...
    这个一眼就看出来是找不到jre的错误。关键是哪个位置需要再找一下。 Internal error. Please refer to https://jb.gg/ide/critical-startup-errors   com.intellij.ide.plugins.StartupAbortedException: Cannot start app     at com.intellij.idea.StartupUtil.lambda$start$15(StartupUtil.java:263)     at java.base/java.util.concurr ...
不知道装了哪个程序。导致cmd命令启动运行不了了。 这个可是个麻烦。各种指令要在这里执行。没法玩。       然后。 计算机\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor 进入这个路径。     保留第一行,其它的都删除。自己决定哈。我的是这么干的。     这样就可以了跑了。
docker system prune -a 清除docker里的安装 先备份。
通过模拟通达信客户端,实现数据的获取,保证数据的无延迟。 功能 目前招商证券使用的是通达信的交互协议 通过socket进行数据交互。通过客户端实时二进制数据,解析出 对应的请求响应数据 通过http获取部分 资料信息 通过客户端本地文件,可以获取板块信息,板块包含股票信息 解析列表(socket) 1、股票列表 2、股票竞价数据 3、心跳 4、各种级别的K线(分时、日、30、60、。。。) 5、实时五笔 6、交易明细 解析列表 (http) 1、交易日历 2、大宗交易 3、融资融券 4、公告 5、转送股 6、证券评级 7、股东持股变动 8、解禁预告 9、股票新闻 10、业绩报告,业绩 ...

talib离线 安装

https://www.lfd.uci.edu/~gohlke/pythonlibs/
一、Anaconda的安装 由于Anaconda官网在境外,为了提升下载速度,我们选择从北京外国语大学镜像站下载Anaconda的安装包。 Index of /anaconda/archive/ | 北京外国语大学开源软件镜像站 | BFSU Open Source Mirror https://mirrors.bfsu.edu.cn/anaconda/archive/ 拖动到页面最下处,选择符合自己处理器架构、操作系统的最新版本下载。 截止到写作时,Anaconda3最新版本为 2021.11,这里我们选择windows,x86_64版本。 下载,安装,一直下一步,安装结束。 ...
Global site tag (gtag.js) - Google Analytics