![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
doingSthing
这个作者很懒,什么都没留下…
展开
-
springboot-mysql断连问题解决
现象:连接空闲8小时候后自动断开连接。报错如下:### Cause: org.apache.ibatis.transaction.TransactionException: Error configuring AutoCommit. Your driver may not support getAutoCommit() or setAutoCommit(). Requested setti...原创 2018-11-05 09:58:55 · 2144 阅读 · 0 评论 -
hadoop连接异常解决:ConnectionRefused Exception
介绍一下环境。hadoop部署至云服务器中,core-site.xml配置为:<property> <name>fs.default.name</name> <value>hdfs://storage-dfs:9001</value> </property> 然后本地用hsfsAPI远程...原创 2018-11-30 09:50:04 · 5699 阅读 · 1 评论 -
linux下安装eclipse
64位的安装地址转载 2018-12-12 10:55:25 · 143 阅读 · 0 评论 -
解决hdfs报错:filesystem closed
FileSystem fileSystem =FileSystem.get(uri, new Configuration);final FSDataInputStream in = fileSystem.open(path);IOUtils.copyBytes(in, out, 1024, true);程序中使用此方法进行获取文件系统,然后使用此方法 IOUtils.copyByt...原创 2019-03-06 15:13:47 · 5604 阅读 · 1 评论 -
Intellij IDEA运行报Command line is too long解法
报错内容:Error running 'ServiceStarter': Command line is too long. Shorten command line for ServiceStarter or also for Application default configuration.解法:修改项目下 .idea\workspace.xml,找到标签<comp...转载 2019-03-15 10:14:34 · 364 阅读 · 0 评论 -
断点续传问题
背景:服务器通过springboot将文件发送至客户端。服务器除了需要将response中的header设置为:response.addHeader("Content-Length", "你算出来的值");response.addHeader("Content-Range", "你组装出来的值");response.addHeader("Accept-Ranges", "bytes"...原创 2019-05-06 21:53:07 · 331 阅读 · 0 评论