
解决问题
鲁尼的小宝贝
这个作者很懒,什么都没留下…
展开
-
powerDesigner 生成SQL时没有注释问题
从powerDesigner 生成SQL时没有注释,需要生成注释的方法原创 2022-10-10 18:20:07 · 1885 阅读 · 0 评论 -
‘com.baomidou.mybatisplus.autoconfigure.MybatisPlusProperties‘ that could not be found.
2022/5/18 上午9:06:20Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.2022/5/18 上午9:06:202022-05-18 09:06:20.811 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter -2022/5/18 上午9:0.原创 2022-05-18 09:27:04 · 3632 阅读 · 0 评论 -
记录Vmware 安装虚拟机配置网络,记录一下
1、vmware网络配置首先配置vmware配置点击菜单栏 编辑->虚拟网络编辑器选择NAT设置,并且记录下打了箭头的地方的ip最后点击应用2、虚拟机网络配置 进入虚拟机配置3、修改服务器配置最后进入虚拟机vim /etc/sysconfig/network-scripts/ifcfg-ens33输入如下的内容TYPE="Ethernet"PROXY_METHOD="none"BROWSER_ONLY="no"B...原创 2022-03-17 00:47:56 · 223 阅读 · 1 评论 -
window.navigator.hid Cannot read properties of undefined
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'getDevices') at SoftKey3A.FindPort (SoftKey3A.js:278) at n.<anonymous> (index.js:105) at s (runtime.js:63) at Generator._invoke (runtime.js:293) at Ge.原创 2022-02-08 10:45:25 · 1084 阅读 · 0 评论 -
PEM_read_bio_X509_AUX() failed (SSL: error:0906D06C:PEM routines:PEM_read_bio
在使用nginx处理 https的时候,修改好了 nginx.conf, 使用命令./sbin/nginx -s reload的时候,报出cannot load certificate "/usr/local/nginx/conf/7175012_api.xxxxx.com.key": PEM_read_bio_X509_AUX() failed (SSL: error:0906D06C:PEM routines:PEM_read_bio:no start line:Expecting: T原创 2022-01-25 21:47:42 · 19741 阅读 · 2 评论 -
go: unknown environment setting GO111MODULE=no
配置 GO的环境变量的时候,配置了如下export GO111MODULE=no在使用 go install 的时候,出现一下错误go: unknown environment setting GO111MODULE=no修改了 etc/profile ,删除 GO111MODULE=no 配置配置还是在修改的方式是不删除GO111MODULE=no 修改为export GO111MODULE=再次 source /etc/profile 就可以了。使用 go ..原创 2021-10-19 09:18:40 · 1109 阅读 · 0 评论 -
postgres 更新一个表的字段值等于另一个表的字段值
PostgreSql表更新时,两个表只允许一个表起别名,一般是被更新的表不起别名,查询的表起别名SQL的寫法是:update t_check_task_video_backupset car_number = t_check_logistics_trailer.license_numberfrom t_check_order as t_check_order , t_check_logistics_trailer as t_check_logistics_trailer, t_check_nv原创 2021-07-05 10:42:50 · 3780 阅读 · 0 评论 -
Nacos连接Mysql8.0+数据库修改,不需要修改源码
Nacos连接Mysql8.0+数据库踩坑,不修改源码nacos使用mysql数据库做持久化时,如果mysql数据库版本是8.0+。需要在nacos安装目录下,新建plugins/mysql目录,在目录中放入合适的mysql驱动,这样nacos就能使用mysql8.0+作为持久化数据库然后上传mysql-connector-java-8.xxx.xxx.jar到当前的目录下就可以了。重启应用就可以了。...原创 2021-01-30 19:48:33 · 579 阅读 · 0 评论 -
Problem with the SSL CA cert (path? access rights?)
在centos上使用https的时候,报错:Problem with the SSL CA cert (path? access rights?)找了很多,都还是不行,最后在网上找到如下命令yum reinstall openssl ca-certificates -y就可以了原创 2021-01-28 09:32:04 · 1051 阅读 · 0 评论 -
Centos7+ 使用java.awt.Font的时候 java.lang.NullPointerException
在使用Java添加图片水印的时候,在windows上显示正常,但是在centos上显示不正常java.lang.NullPointerException java.desktop/sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1262) java.desktop/sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:225)原创 2021-01-14 16:41:40 · 1420 阅读 · 0 评论 -
org.springframework.web.client.RestTemplate 上传文件无法获取文件信息
使用RestTemplate 模拟上传文件的时候,不能在接收端接收到文件的字节。/** * 上传文件 * * @param name * @param bytes * @return */ public Long updateBytes(String name, byte[] bytes) throws XyidcException { //设置请求头 HttpHeaders headers = new原创 2020-11-10 10:47:53 · 720 阅读 · 1 评论 -
idea 2019.3 版本Idea 无法在线下载 插件
进入插件下载界面:设置代理设置地址为:https://217.0.0.1:1080重启就可以了,亲测有效原创 2020-09-26 11:38:15 · 709 阅读 · 0 评论 -
使用swagger-bootstrap-ui ,访问的时候 404
在使用swagger的时候,所有的配置都是正确的,但是在访问的时候,返回的地址是错误的查找问题,找到 WebMvcConfig配置如下:@Configurationpublic class WebMvcConfig extends WebMvcConfigurationSupport { @Override public void addResourceHandlers(ResourceHandlerRegistry registry) { regist.原创 2020-08-26 15:09:46 · 1537 阅读 · 0 评论 -
创建一个多模块GO项目,一直go list -m json all
打开一个自己创建的GO项目,一直都在加载go list -m json all,原因是加载项目中需要用到的库解决方法1.使用golang开发,直接设置代理https://goproxy.io/,或使用阿里云的镜像:https://mirrors.aliyun.com/goproxy/,在国内我使用阿里云的。...原创 2020-08-13 17:09:41 · 2754 阅读 · 0 评论 -
Go Get 太慢
设置系统环境变量:GOPROXY=https://mirrors.aliyun.com/goproxy/原创 2020-08-13 16:41:41 · 729 阅读 · 0 评论 -
高德地图变相实现简单的地理围栏技术
代码地址:前端:https://github.com/poemp/geo-fencing-frontend 后端:https://github.com/poemp/geo-fencing-frontend原理开发 -> Web服务 API -> 开发指南 -> API文档 -> 地理围栏使用规则配置好数据库global: datasource: service: type: com.alibaba.druid.pool.DruidD原创 2020-06-03 13:24:56 · 4235 阅读 · 6 评论 -
无法安装 cloudera-manager-agent 包
支持 admin 升级 Cloudera Manager Agent 软件包Install Agents所有主机上的安装均失败。已成功完成 1 个主机中的 0 个。 安装失败后已在 1 主机上卸载。 主机名称 IP 地址 进度 状态poem1 192.168.22.136 重试 | 详细信息 安装失败。 已卸载。×无法安装 cloudera-manager-agent...原创 2020-03-01 23:12:09 · 5689 阅读 · 3 评论 -
Postgres 致命错误: 对不起, 已经有太多的客户 (pgjdbc: autodetected server-encoding to be GB2312, if the message is n
ERROR com.zgph.ComputingCommandRunner - Failed to obtain JDBC Connection; nested exception is org.postgresql.util.PSQLException: 致命错误: 对不起, 已经有太多的客户 (pgjdbc: autodetected server-encoding to be GB2312...原创 2020-02-16 16:14:41 · 16716 阅读 · 0 评论 -
feign.RetryableException: Read timed out executing POST http:/******
使用 feign做apicenter的时候, provider需要到数据平台请求数据,出现了一下的错误:feign.RetryableException: Read timed out executing POST :http://***/v1/***/406 at feign.FeignException.errorExecuting(FeignException.java...原创 2019-10-22 12:23:22 · 2515 阅读 · 0 评论 -
安装zabbix遇到的问题
编译./configure --prefix=/usr/local/zabbix --sysconfdir=/etc/zabbix --enable-server --enable-agent --enable-proxy --with-mysql --enable-net-snmp --with-libcurl出现错误如出现configure: error: MySQL libra...原创 2019-10-15 00:25:43 · 10549 阅读 · 0 评论 -
org/springframework/boot/autoconfigure/web/ServerPropertiesAutoConfiguration.class
"C:\Program Files\Java\jdk1.8.0_201\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:64445,suspend=y,server=n -javaagent:C:\Users\Administrator\.IntelliJIdea2018.3\system\captureAge...原创 2019-03-27 16:00:59 · 21832 阅读 · 1 评论 -
Docker Run Cadvisor failed: inotify_add_watch /sys/fs/cgroup/cpuacct,cpu: no such file or directory
没有找这个文件, 这是一个bug,在系统中,是cpu,cpuacct可以去文件的目录下查看:ll -d /sys/fs/cgroup/解决方法:使用 软连接sudo mount -o remount,rw '/sys/fs/cgroup'sudo ln -s /sys/fs/cgroup/cpu,cpuacct /sys/fs/cgroup/cpuacct,cpu第...原创 2018-12-05 15:21:46 · 4042 阅读 · 0 评论 -
./configure: error: the HTTP rewrite module requires the PCRE library
./configure: error: the HTTP rewrite module requires the PCRE library.You can either disable the module by using --without-http_rewrite_moduleoption, or install the PCRE library into the system, or...原创 2019-07-05 16:12:16 · 4404 阅读 · 1 评论 -
CentOS 安装hadoop3.0.3 版本踩坑
坑坑坑,全是坑1、but there is no HDFS_NAMENODE_USER defined. Aborting operation.[root@xcff sbin]# ./start-dfs.sh Starting namenodes on [localhost]ERROR: Attempting to operate on hdfs namenode as rootE...原创 2019-01-07 16:13:11 · 1377 阅读 · 0 评论 -
swgger-bootsrap-ui 一个好看的api文档生成器
传送门d-swgger-bootsrap-ui原生的swagger好丑, 看到xiaoymi 一款新的swagger 文档生成器.所以就出现了这样一个教程.大家看好了.使用的是SpringBoot, 创建SpringBoot项目就省略了.配置swagger直接开始讲解代码:25行, 就不用了吧,这是SpringBoot的配置注解, 就是说这是一个配置26行, 开始swa...原创 2019-01-03 23:14:49 · 524 阅读 · 0 评论 -
Powerdesigner 导出excel, 并且自动生成对应的简单的业务代码
近期在使用这个工具做设计, 表比较多, 需要常见各种的vo , service, dao , 许多许多, 想怎么可以加快开发的进度, 就想到使用excel导出, 读取excel表格的信息来自动生成代码, 这样就好了。 在网上找到的方法是: 在界面, 点击快捷键:ctrl+shift+x ,弹出框, 执行以下的代码就好了:'**************************...原创 2018-12-18 17:12:05 · 850 阅读 · 0 评论 -
mirrors.tuna.tsinghua.edu.cn[0: 101.6.8.193]: errno=Operation timed out
参考:https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/Homebrew 镜像使用帮助注:该镜像是 Homebrew 的 formula 索引的镜像(即 brew update 时所更新内容)。本镜像站同时提供 Homebrew 二进制预编译包的镜像替换现有上游cd "$(brew --repo)"git remote ...原创 2018-12-17 14:34:01 · 3287 阅读 · 0 评论 -
Spring Boot 命令启动时指定配置文件
有以下场景: 副总经理需要去部署系统, 系统使用的是spring boot + gradle 写的, 但是是按照模块写的, 打包出来是 war 包, 使用 java -jar xxx.war 问题来了 , 数据库配置要修改, 端口要修改, 各种地址修改, 但是配置文件在包里, 改不了.所以需要使用命令来指定外部的配置文件来直接指定配置...原创 2018-12-04 13:20:23 · 24212 阅读 · 2 评论 -
redis编译报致命错误:jemalloc/jemalloc.h:没有那个文件或目录
学java的, 使用redis , 搞这个, 呃呃呃呃在安装编译的时候, 会报redis编译报致命错误:jemalloc/jemalloc.h:没有那个文件或目录, 措手不及,各种升级gcc 也木有用.找到的是使用:在安装目录下 使用命令 : make MALLOC=libc就可以了,真的可以了...原创 2018-10-25 23:55:20 · 297 阅读 · 0 评论 -
Java Long 在SpringMVC 中 精度丢失
@JsonFormat(shape=JsonFormat.Shape.STRING)加在属性上就可以了原创 2018-08-31 11:54:54 · 1551 阅读 · 0 评论 -
internal error: SHA-1 not available.
internal error: SHA-1 not available java spring jre jsse.jar原创 2017-09-20 07:11:15 · 4171 阅读 · 5 评论 -
React 出现 Failed to execute 'open' on 'XMLHttpRequest': Invalid URL
Reat 做开发, 请求后端的时候出现:Uncaught (in promise) DOMException: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL处理的方式 是在 请求的url 前面加上 http:// 或者是 https://...原创 2019-01-12 22:32:34 · 10307 阅读 · 0 评论 -
GO + React + Axios Response to preflight request doesn't pass access control check: It does not hav
使用Go + Reat 使用 Axios 请求后端, 出现:Access to XMLHttpRequest at 'http://127.0.0.1:20002/v1/user/login' from origin 'http://localhost:4444' has been blocked by CORS policy: Response to preflight request ...原创 2019-01-12 23:18:32 · 30525 阅读 · 7 评论 -
JDK 7 java-shell的使用, 自编写框架
首先 , 传送门 spring-shell-java 由于某一些原因, 需要自己编写一个运行程序, 实现在命令行中使用命令行的方式作出数据管理, 由于JDK版本还有其他一些因素, 自己开发了一个运行框架, 并且公布源码 , 希望和大家一个讨论, 改进.目录 1、概述1、1、使用的技术 1、1、1:SpringBoot 1、1、2: common-cli1、1...原创 2019-01-07 22:57:04 · 691 阅读 · 1 评论 -
/usr/local/jdk1.8.0_144/jre/lib/amd64/libawt_xawt.so: libXtst.so.6: 无法打开共享对象文件: 没有那个文件或目录
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/local/jdk1.8.0_144/jre/lib/amd64/libawt_xawt.so: libXtst.so.6: 无法打开共享对象文件: 没有那个文件或目录 at java.lang.ClassLoader$NativeLibrary.loa...原创 2019-07-02 15:29:07 · 4110 阅读 · 0 评论 -
nginx 请求的时候 500错误 failed (13: Permission denied)
nginx 请求的时候 500错误500 Internal Server Errornginx/1.12.2查看nginx的日志error.log可以查看到2019/06/25 20:30:11 [crit] 23016#0: *183 open() "/var/lib/nginx/tmp/client_body/0000000050" failed (13: Permiss...原创 2019-06-25 20:51:27 · 3272 阅读 · 0 评论 -
找不到或无法加载主类 org.apache.hadoop.mapreduce.v2.app.MRAppMaster
找不到或无法加载主类 org.apache.hadoop.mapreduce.v2.app.MRAppMasterApplication application_1558512564390_0003 failed 2 times due to AM Container for appattempt_1558512564390_0003_000002 exited with exitCode:...原创 2019-05-29 08:15:53 · 1507 阅读 · 0 评论 -
spark-submit hive SQL standards based authorization should not be enabled from hive cliInstead the
近期在使用spark-submit 提交任务, 并且执行, 碰到各种问题, 在实施现场卡了好几天. 现在终于解决了.这个只包含自己的处理过程, 每一个人的不一样, 所以照着做了, 也不一定解决, 但是有一个已知的成功的方法还是不错的.运行的环境是华为的大数据平台 FusionInsight HD V100R002C70SPC200 , 使用 kerberos 做为hive的访问权限认证,...原创 2019-05-31 20:05:52 · 976 阅读 · 0 评论 -
org.apache.avro.file.DataFileWriter$AppendWriteException: org.apache.avro.UnresolvedUnionException:
使用nifi+kylo报错了。2019-03-05 15:03:08,226 ERROR [Timer-Driven Process Thread-8] c.t.nifi.v2.thrift.ExecuteHQL ExecuteHQL[id=4822488d-3004-39ad-0e1b-2aaafa7edf73] ExecuteHQL[id=4822488d-3004-39ad-0e1b...原创 2019-03-06 15:56:08 · 1267 阅读 · 0 评论 -
Docker run App的时候 WARNING: IPv4 forwarding is disabled. Networking will not work.
解决办法:# vim /usr/lib/sysctl.d/00-system.conf 添加如下代码:net.ipv4.ip_forward=1重启network服务# systemctl restart network原创 2019-02-26 16:14:36 · 164 阅读 · 0 评论