
异常
胡易卿
八月风高秋怒号,卷我屋上三重茅
展开
-
记一次PHP的laravel框架数据库查询报错500
是有个给第三方回调的接口,由于第三方接口是不需要传token的因此在本地测试的时候,我们是将Header加入token的字段,测试一切正常,但是到显示调试过程中一直出现500。经过不断地定位,发现是在通过订单号到数据库中查询订单信息的查询语句出现了错误。所以导致这个小细节导致不传token会出现失败的问题。但是在框架里面文件夹是小写的。此处是查询出错的命名空间。此处是查询正常的命名空间。原创 2023-06-21 09:30:54 · 281 阅读 · 0 评论 -
Electron 麒麟 Linux 系统 root 账户报错
Electron 麒麟 Linux 系统 root 账户报错,ERROR:gpu_init.cc(521)] Passthrough is not supported, GL is disabled原创 2022-12-08 22:50:03 · 7839 阅读 · 1 评论 -
GeoTools 做相交分析报错to have locked the url but it does not hold the lock for the URL
GeoTools 做相交分析报错to have locked the url but it does not hold the lock for the URL原创 2021-12-23 21:52:49 · 1608 阅读 · 0 评论 -
GeoServer 源码启动异常java.lang.NoSuchMethodError: com.sun.tools.javac.util.JavacMessages.add
GeoServer源码编译不通过:出现异常java.lang.RuntimeException: java.lang.NoSuchMethodError: com.sun.tools.javac.util.JavacMessages.add(Lcom/sun/tools/javac/util/JavacMessages$ResourceBundleHelper;)V根据官方文档第8条解释,由于Error Prone不支持 Java 8版本解决方法:去掉Error ProneMav..原创 2021-04-16 17:02:46 · 1187 阅读 · 0 评论 -
Unable to create call adapter for io.reactivex.rxjava3.core.Observable
在集成Retrofit2+RxJava3时,会出现这个错误 java.lang.IllegalArgumentException: Unable to create call adapter for io.reactivex.rxjava3.core.Observable<com.kotlin.base.data.protocol.BaseResp<java.lang.String>> for method UserApi.register .原创 2020-09-25 17:18:04 · 4354 阅读 · 0 评论 -
centos服务器 java 项目new Date()相差12小时
环境:centos 7.x项目语言:java项目中使用 new Date()方法发现取值时间与当前时间相差12个小时左右,第一反应是服务器的时间不正确。在服务器调用命令date[root@localhost soft]# dateWed Jul 1 10:54:31 CST 2020发现服务器时间与当前时间一致,没有问题。这个就很奇怪了,服务器时间和当前时间一致,但是代码里面获取的时间和当前时间相差,那就是服务器的时区有问题。输入命令: timedatectl。查看,果然Time原创 2020-07-01 10:59:17 · 3177 阅读 · 0 评论 -
WPS显示文档大纲
wps ---> 工具栏 ---> 视图 ---> 导航窗格--->靠左原创 2020-06-17 11:21:57 · 3001 阅读 · 0 评论 -
SpringBoot JDBC连接Oracle 异常: oracle.net.ns.NetException: Undefined Error
最近在使用Springboot连接Oracle数据,其他同事都正常,只有我的不行,对比后发现是JDK的版本不对环境:JDK8 64版本。解决方案:将JDK8的64位换成jdk8的32位后正常。java.sql.SQLRecoverableException: IO 错误: Undefined Error at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:774) at oracle.jdbc.driver.P原创 2020-06-09 23:19:04 · 9807 阅读 · 3 评论 -
IDEA运行出现java.lang.NoClassDefFoundError: com/intellij/util/messages/Topic
IDEA 版本:2020.2 EAP项目build没有任何问题,在运行SpringBoot服务时,出现某个模块运行异常,出现报错信息java.lang.NoClassDefFoundError: com/intellij/util/messages/Topic问题分析:错误提示的报名是: com/intellij/util/messages是以intellij开头,可以确定是idea的问题,和项目无关。再次分析是最近才出现的问题,以前正常运行,没有更新idea版本,回想其起来最近装了一个.原创 2020-06-03 16:35:57 · 11431 阅读 · 1 评论 -
springboot + shiro +swagger2 报错 Unable to infer base url.
在使用SpringBoot配置了shiro,再 中配置Swagger2的时候,出现Unable to infer base url. This is common when using dynamic servlet registration or when the API is behind an API Gateway. The base url is the root of where ...原创 2019-01-22 16:24:11 · 877 阅读 · 2 评论 -
Task function must be specified
在执行gulp命令时控制台报错:Task function must be specified解决方法:1.使用gulp -v 查看gulp的Local version版本和package.json里面的版本是否相同如果相同,切是4.0的版本编写的的方法查看是否为如下代码,4.0错误的写法:gulp.task('default', ['del'], functio...原创 2018-12-28 15:30:17 · 7554 阅读 · 0 评论 -
记一次mybatis #取值为null,$取值有值的问题
项目中使用的的mybatis的exmaple的方式来组装sql,在项目开发的过程中,发现一个问题 #取值为null,$取值有值的问题。使用$的日志:2018-12-17 16:58:23.661 DEBUG c.b.e.base.dao.EispOrderMapper.selectByUdfExample - ==> Preparing: SELECT DISTINCT eisp...原创 2018-12-17 17:14:35 · 3591 阅读 · 2 评论