![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工作笔记
最近比较烦。
这个作者很懒,什么都没留下…
展开
-
启动eclipse报错Unable to acquire the state change lock for the module: osgi.identity; type=“osgi.bundle“
!ENTRY org.eclipse.osgi 2 0 2020-10-10 09:25:19.944!MESSAGE While loading class "org.jd.core.v1.model.javasyntax.declaration.TypeDeclaration", thread "Thread[main,6,main]" timed out waiting (30086ms) for thread "Thread[Worker-7: Executing the early startu原创 2020-10-10 09:46:22 · 1232 阅读 · 0 评论 -
ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN
连接rabbitmq服务异常首先检查用户,要么是登录的用户名密码不正确,要么是guest没有权限./rabbitmqctl list_users发现只有个guest,原先的用户被删了,需要新增配置文件中配置的用户密码test/test./rabbitmqctl add_user test test新增后网址能登录成功服务也重启成功To be continued......原创 2020-07-07 14:22:14 · 29074 阅读 · 0 评论 -
RedisDesktopManager连接不上redis的解决方法
RedisDesktopManager是一款连接redis数据库的客户端。背景:我是在自己机器上装的redis,使用的是虚拟机,系统是linux 版本是centeros-6.7在使用这个连接redis的时候,发现连接不上。第一步:在自己的本机外面试下能不能连接上虚拟机,打开cmd,使用 ping 192.168.65.128 (192.168.65.128这个为虚拟机的ip地址 查看虚拟机的ip地址:命令 ifconfig)如果能ping的通,这个没问题,表示外部可以访问得到。访问不到可以.转载 2020-06-28 15:03:30 · 688 阅读 · 0 评论 -
Oracle AWR报告生成简单步骤
简单几步生成AWR报告1、进入数据库:#su - oracle2、切换身份:sqlplus "/ as sysdba"3、手工创建快照:exec dbms_workload_repository.create_snapshot();4、使用awrrpt.sql生成awr报告:@?/rdbms/admin/awrrpt.sql依次输入5、格式:回车/html6、收集几天的报告信息: 回车/天数7、输入想要抓取的时间范围所对应的开始snap_id8、输入想要抓取的时间原创 2020-05-11 14:18:28 · 1905 阅读 · 0 评论 -
线上应用故障排查之一:高CPU占用
一个应用占用CPU很高,除了确实是计算密集型应用之外,通常原因都是出现了死循环。以我们最近出现的一个实际故障为例,介绍怎么定位和解决这类问题。根据top命令,发现PID为28555的Java进程占用CPU高达200%,出现故障。通过ps aux | grep PID命令,可以进一步确定是tomcat进程出现了问题。但是,怎么定位到具体线程或者代码呢?首先显示线程列表:ps -mp pid -o THREAD,tid,time找到了耗时最高的线程28802,占用CPU时间快两个转载 2020-05-09 11:06:54 · 429 阅读 · 0 评论 -
linux下配置jdk环境变量
1、将jdk解压到/data/jdk目录下2、在etc/profile.d文件夹中增加配置jdk.sh 输入以下内容JAVA_HOME=/data/jdkPATH=$JAVA_HOME/bin:$PATHexport JAVA_HOME PATH保存并退出3、分配权限chmod 755 /etc/profile.d/jdk.sh4、 2、 1 分别对应 读...原创 2019-12-28 11:16:07 · 163 阅读 · 0 评论 -
Jenkins部署项目如何部署在新增的服务器上
1、进入系统管理->系统设置2、新增SSH Server最下方点新增,设置服务器ip、用户,高级选项中设置密码、端口、超时时间等To be continued...原创 2019-12-26 15:06:57 · 725 阅读 · 0 评论 -
java.sql.SQLIntegrityConstraintViolationException: ORA-00001: 违反唯一约束条件
异常信息为:could not execute statement; SQL [n/a]; constraint [XXXX.pk_sourcecd_srcorderitemid]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement看了一下,...原创 2019-11-20 15:05:12 · 2621 阅读 · 0 评论 -
SpringBoot 使用feign时报错Service id not legal hostname(xx_sss)
分享一个蠢逼问题SpringBoot 使用feign时报错Service id not legal hostname(xx_sss)经百度,原因是feign不支持下划线"_",支持"-",改成xx-sss即可特此记录!To be continued......原创 2019-11-07 15:34:53 · 564 阅读 · 0 评论 -
Unable to locate Attribute with the the given name
今天在改前端查询报错问题,报错如下java.lang.IllegalArgumentException: Unable to locate Attribute with the the given name [companyId] on this ManagedType [com.yonyou.ocm.common.entity.BaseEntity]传参的属性名必须和entity一致,...原创 2019-11-07 15:25:23 · 6962 阅读 · 0 评论 -
使用PowerDesigner生成数据库建表语句含有clustered关键字
今天使用PowerDesigner进行数据库建表,生成的sql执行报ora-00906missing left parenthesis一百度发现是因为clustered关键字需要修改PowerDesigner默认指定的数据库类型,数据库->Change Current DBMS原来默认sql server,修改为oracle重新生成脚本即可To be c...原创 2019-10-23 20:32:44 · 726 阅读 · 0 评论 -
项目启动在JSR-330 'javax.inject.Inject' annotation found and supported for autowiring卡住不动
今天项目启动的时候卡在这句JSR-330 'javax.inject.Inject' annotation found and supported for autowiring还以为是某个引用的项目新增了代码没编译,把所有项目都编译了一遍,重启还是没用,一百度发现大家说这是因为有个接口上打了断点经验证,成功解决问题。...原创 2019-09-07 18:33:03 · 2811 阅读 · 0 评论