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 · 2281 阅读 · 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 · 6009 阅读 · 1 评论 -
linux下安装eclipse
64位的安装地址转载 2018-12-12 10:55:25 · 227 阅读 · 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 · 6102 阅读 · 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 · 432 阅读 · 0 评论 -
断点续传问题
背景:服务器通过springboot将文件发送至客户端。 服务器除了需要将response中的header设置为: response.addHeader("Content-Length", "你算出来的值"); response.addHeader("Content-Range", "你组装出来的值"); response.addHeader("Accept-Ranges", "bytes"...原创 2019-05-06 21:53:07 · 423 阅读 · 0 评论
分享