关闭

【spring】[Xlint:invalidAbsoluteTypeName]error

错误: 启动spring容器时报类似 [Xlint:invalidAbsoluteTypeName]的错误 问题: spring aop进行事务控制时配置切点表达式错误 aop:pointcut id="pc" expression="execution(* xx.service.impl.*ServiceImpl(..))"/> 上面的切点表达式没有匹配方法,所有报错了...
阅读(548) 评论(0)

[spring-boot]sonar这坑货……

Q:spring boot启动后自动关闭,what fuck spring boot启动日志: D:\project\spring-boot-guide>mvn spring-boot:run [INFO] Scanning for projects... [INFO] [INFO] ----------------------------------------------------...
阅读(158) 评论(0)

【mybatis】打印SQL与实际结果不符问题

前言 好久没有在csdn巴拉巴拉了,最近解决一个线上问题费了一些时间,故记录一下,如果有遇到相同情况的童鞋可以对号入座尝试本方法。 问题 现在主流的ORM框架mybatis,可以方便与数据层进行交互,并且可以将执行的sql打印。现需要在模糊查询的情况下,筛选含下划线(_)的记录。 下面是日志文件截图(为了避免一些纠纷,将数据表特殊处理) 好了,现在根据日志文件的sql,去数据...
阅读(1015) 评论(0)

【Linux】/bin/sh^M: bad interpreter: No such file or directory

问题: [root@localhost native]# ./buildconf.sh bash: ./buildconf.sh: /bin/sh^M: bad interpreter: No such file or directory [root@localhost native]# ./configure bash: ./configure: /bin/sh^M: bad int...
阅读(397) 评论(0)

【rabbitmq】 com.rabbitmq.client.AlreadyClosedException: channel is already closed due to channel erro

场景: 使用rabbitmq时报错,异常栈如下: Exception in thread "main" com.rabbitmq.client.AlreadyClosedException: channel is already closed due to channel error; protocol method: #method(reply-code=406, reply-text=...
阅读(3109) 评论(0)

【rabbitmq】rabbitmq不能远程用ip:port访问

场景: 开启rabbitmq_management插件,在虚拟机上用http://localhost:15762可以访问 但是在远程机用http://ip:15672提示一直连不上 然后,ping虚拟机,OK telnet 虚拟机 15762,ERROR telnet 虚拟机 22,OK 然后就晕了。。。 解决: 网上涉及到这类的解决很少,甚至没有,很多都是说不...
阅读(2014) 评论(0)

【rabbitmq】error XX/otp_src_18.2.1/erts/configure' failed for erts

场景: 安装erlang,运行./configure提示如下错误 configure: error: No curses library functions found configure: error: /bin/sh '/home/jiayi/otp_src_18.2.1/erts/configure' failed for erts 解决: yum -y install ncu...
阅读(2259) 评论(0)

【rabbitmq】Warning: PID file not written; -detached was passed. ERROR: node with name "rabbit" alread

场景: 使用 sudo rabbitmq-server -detached命令启动rabbitmq时,出现以下提示 Warning: PID file not written; -detached was passed. ERROR: node with name "rabbit" already running 但是,通过命令sudo rabbitmqctl status又提...
阅读(5677) 评论(1)

【junit】java.lang.NoSuchMethodError: org.hamcrest.Matcher.describeMismatch

异常栈: java.lang.NoSuchMethodError: org.hamcrest.Matcher.describeMismatch(Ljava/lang/Object;Lorg/hamcrest/Description;)V     at org.hamcrest.collection.IsIterableContainingInOrder$MatchSeries.descri...
阅读(993) 评论(0)

【git】D:\Git\bin\ssh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487

场景: git bash一闪而过,git不能push到远程仓库。 git错误栈:D:\Git\bin\ssh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487 解决: 进入git目录下的bin目录执行rebase -b 0x76000000 msys-1.0.dll语句。...
阅读(5548) 评论(4)

【cas、spring-security】The error indicates the the CAS server is trying to post the single sign out re

场景: 配置jasig cas和spring security的,注销功能。tomcat报如下错误 The error indicates the the CAS server is trying to post the single sign out request to itself, localhost, rather than to the service. 原因: 注...
阅读(332) 评论(0)

【cas、tomcat】SunCertPathBuilderException: unable to find valid certification path to requested target

异常栈: HTTP Status 500 - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable ...
阅读(1291) 评论(0)

【cas、tomcat】HTTP Status 500 - javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connec

异常栈: HTTP Status 500 - javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? type Exception report message javax.net.ssl.SSLException: Unrecognized SSL message, plaintext ...
阅读(1445) 评论(0)

【cas、tomcat】HTTP Status 500 - javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateExc

异常栈: HTTP Status 500 - javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No name matching www.mj.com found type Exception report message javax.net.ssl.SSLHandshakeEx...
阅读(1353) 评论(0)

【tomcat】Windows下部署多个tomcat容器的问题

场景: Windows环境下,如果设置了CATALINA_HOME,并加入了path环境变量。部署多个tomcat容器时,发现不能部署。 提示:端口被占用!!! 原因: Windows的tomcat启动脚本里面找到原因。 如果设置了CATALINA_HOME环境变量,使用startup.bat时,永远都只会启动CATALINA_HOME所指向的tomcat容器!!!!! 解决: ...
阅读(301) 评论(0)
57条 共4页1 2 3 4 下一页 尾页
    个人资料
    • 访问:76867次
    • 积分:1214
    • 等级:
    • 排名:千里之外
    • 原创:45篇
    • 转载:12篇
    • 译文:0篇
    • 评论:9条
    文章分类