
异常纪录
赛博夫子qa
技术改变世界
展开
-
idea的maven项目修改java代码重启后无效
idea修改java代码重启后无效原创 2021-12-30 09:26:04 · 1649 阅读 · 0 评论 -
idea中的js,css代码不能高亮,全部是灰色。
在plugin里面搜索JavaScript support,安装重启就行了。原创 2021-09-12 11:58:33 · 8187 阅读 · 3 评论 -
Consider defining a bean of type ‘Mapper‘ in your configuration.
错误信息14:42:02.320 [restartedMain] ERROR org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter -APPLICATION FAILED TO STARTDescription:Field adMapper in com.qinghuan.cms.service.impl.AdServiceImpl required a bean of type ‘com.qinghuan.cms原创 2021-08-23 14:46:10 · 2298 阅读 · 0 评论 -
springboot异常:Unrecognized field xxx , not marked as ignorable 问题
异常信息Unrecognized field access_token , not marked as ignorable场景描述异常原因json解析的时候,数据是下划线分割的,没有自动转驼峰,解决方案要手动配置属性名。public class AccessToken { // 接口访问凭证 @JsonProperty(value = "access_token") private String accessToken; // 凭证有效期,单位:秒 @JsonProperty(va原创 2021-08-05 14:17:38 · 800 阅读 · 0 评论 -
安卓sdk 安装 配置代理 提示 Connection to.. refused
Connection to https://dl-ssl.google.com refusedAndroid SDK在线更新镜像服务器南阳理工学院镜像服务器地址:mirror.nyist.edu.cn 端口:80中国科学院开源协会镜像站地址:IPV4/IPV6: mirrors.opencas.cn 端口:80IPV4/IPV6: mirrors.opencas.org 端...原创 2020-02-16 08:59:45 · 850 阅读 · 1 评论 -
Plugin 'InnoDB' is disabled. Unknown/unsupported storage engine: INNODB
异常信息200215 20:35:10 [Note] Plugin 'InnoDB' is disabled.200215 20:35:10 [ERROR] Unknown/unsupported storage engine: INNODB场景描述https://blog.csdn.net/qq_33840251/article/details/104333716my.ini更改数...原创 2020-02-15 20:42:43 · 889 阅读 · 2 评论 -
[ERR] 1286 - Unknown storage engine 'InnoDB'
异常信息[SQL] Query small start[ERR] 1286 - Unknown storage engine 'InnoDB'[ERR] # Host: localhost (Version: 5.5.5-10.1.30-MariaDB)场景描述导入sql文件失败,报错。异常原因1、未安装InnoDB引擎2、未启用InnoDB引擎解决方案SHOW V...原创 2020-02-15 20:31:37 · 1999 阅读 · 0 评论 -
Can’t open file for writing Press ENTER or type command to continue
异常信息E212: Can’t open file for writing Press ENTER or type command to continue场景描述在linux上使用vi命令修改一个文件内容的时候,发现无法保存,每次写完使用“:q!”命令可以正常退出但是使用":wq!"命令保存文件并退出时出现信息提示异常原因1.当前用户的权限不足2.此文件可能正被其他程序或用户使用...原创 2020-02-14 18:25:27 · 1318 阅读 · 0 评论 -
Error:(1, 1) java: 非法字符: '\ufeff'
异常信息Error:(1, 1) java: 非法字符: '\ufeff'场景描述开发过程中,在启动tomcat服务的时候,遇到这样的问题:运行mvn compile也是报同样的错误。感觉好奇怪啊,仔细看看对应的行没啥问题啊。我用的工具是IntelliJ IDEA 2018.2异常原因utf-8+bom比utf-8多了三个字节前缀:0xEF0xBB0xBF,有这三个字节前缀的文本...原创 2020-02-14 16:27:22 · 896 阅读 · 0 评论 -
Could not resolve placeholder in string value
解决 IllegalArgumentException: Could not resolve placeholder in string value “${XXXXXX}”如题:导致这一问题的原因:使用了重复的property-placeholder如一个配置文件中使用了<context:property-placeholder location=“classpath:aa.prop...原创 2019-12-25 15:31:36 · 2154 阅读 · 0 评论 -
Column 'id' cannot be null
异常信息16-Sep-2019 17:14:55.384 涓ラ噸 [http-nio-8080-exec-6] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [SpringMVC] in context with path [] threw exception [Request...原创 2019-09-16 17:18:34 · 19882 阅读 · 6 评论 -
java.lang.NoClassDefFoundError: org/apache/commons/lang/xwork/StringUtils
java.lang.NoClassDefFoundError: org/apache/commons/lang/xwork/StringUtilsStruts2框架下使用JSON插件时,程序保存找不到类org/apache/commons/lang/xwork/StringUtils几种可能的错误及解决方法:1、没有commons-lang,xwork-core-2.2.1.1.jar,导入...原创 2019-08-12 16:47:31 · 452 阅读 · 0 评论 -
Caused by: Parent package is not defined: json-default - [unknown location]
Caused by: Parent package is not defined: json-default - [unknown location]Unable to load configuration. - [unknown location]at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(C...原创 2019-08-09 17:53:45 · 883 阅读 · 0 评论 -
Could not find artifact net.sf.json-lib:json-lib:jar:2.4 in central
使用IDEA搭建Maven项目导入架包时,添加net.sf.json的jar包的时候,代码如下: <dependency> <groupId>net.sf.json-lib</groupId> <artifactId>json-lib</artifactId> <version>2.4</ve...原创 2019-08-07 17:14:39 · 9336 阅读 · 3 评论 -
org.springframework.beans.factory.NoSuchBeanDefinitionException异常
在使用spring自动注入时遇到了org.springframework.beans.factory.NoSuchBeanDefinitionException异常。经检查是因为在bean类中自动注入了本类(写代码把自己写懵逼了)。但也想写一下出现这个异常。出现这个异常的原因是因为在spring的上下文中找不到相应bean类。Cause: No qualifying bean of type ...原创 2019-07-24 09:52:43 · 2731 阅读 · 0 评论 -
dubbo 异常Please check registry access list (whitelistblacklist)的分析
dubbo 异常Please check registry access list (whitelist/blacklist)的分析排查:官方给出的配置应该没错啊。构建一个demo程序,按照上面的配置直连服务提供者,连接成功,没报错。那么问题就出在我的代码里面了仔细检查dubbo配置文件,以及错误日志,终于发现问题:同一个服务引用我定义了两次!!!!!只有其中一个配置了直连,另一个没有配置直...原创 2019-06-01 23:34:01 · 3597 阅读 · 0 评论 -
fatal The remote end hung up unexpectedly
异常信息Counting objects: 61350, done.Delta compression using up to 2 threads.Compressing objects: 100% (20587/20587), done.efatal: The remote end hung up unexpecterror: RPC failed; HTTP 413 curl 22 T...原创 2019-05-30 12:31:44 · 2741 阅读 · 0 评论 -
分布式项目 idea 断点不能跳入service节点
环境 dubbo+zookeeper +springmvc问题描述:断点只进入了controller 没有进入serviceImpsocket 切换成内存共享原创 2019-05-26 08:53:37 · 1110 阅读 · 0 评论 -
ERROR 1130: Host xxx.xxx.xxx.xxx is not allowed to connect to this MySQL server
用Navicat for mysql连接数据库测试下连接 如果出现1130错误错误代码是1130,ERROR 1130: Host xxx.xxx.xxx.xxx is not allowed to connect to this MySQL server有些可能说是关掉防火墙就好了,其实根本问题不在于防火墙,单纯的关闭防火墙,是无法给远程连接的用户权限问题。第一个可能的问题是:服务端的m...原创 2019-05-24 00:22:32 · 267 阅读 · 0 评论 -
starting ZkClient event thread
异常信息场景描述异常原因1.确保zookeeper已经启动,没有启动的话也是启动不起来的,虽然有tomcat进程,但是它一直卡在starting zkclient…这一行了2.确保zookeeper配置没有问题,否则会出现和上面一样的问题解决方案1.先杀掉所有tomcat的进程,ps -ef|grep tomcat7 的到进程相关信息,然后kill -9 -进程号 强制关闭tom...原创 2019-05-22 16:37:00 · 1314 阅读 · 0 评论 -
Cannot find class [org.springframework.cache.ehcache.EhCacheManagerFactoryBean
异常信息异常: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.cache.ehcache.EhCacheManagerFactoryBean] for bean with name 'ehCacheManager' defined...原创 2019-05-20 16:47:29 · 1232 阅读 · 0 评论 -
Could not transfer artifact (https://repo.maven.apache.org/maven2): Received fatal alert: protocol_v
异常信息Failed to read artifact descriptor for org.slf4j:slf4j-api:jar:1.7.2org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.slf4j:slf4j-api:jar:1.7....原创 2019-05-20 16:45:42 · 1376 阅读 · 0 评论 -
Response received : -DENIED Redis is running in protected mode because protected mode is enable
异常信息2019-05-20 15:34:34 : Connection: 阿里云 > Response received : -DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentication ...原创 2019-05-20 16:39:46 · 3150 阅读 · 0 评论 -
java.lang.ClassNotFoundException: org.apache.http.config.RegistryBuilder
异常信息java.lang.ClassNotFoundException: org.apache.http.config.Lookup at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1718) at org.apache.catalina.loader.WebappClassL...原创 2019-05-19 23:20:12 · 6805 阅读 · 0 评论 -
Maven项目下update maven后Eclipse报错:java.lang.ClassNotFoundException: ContextLoaderL
异常信息严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerjava.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListenera...原创 2019-05-19 23:18:20 · 143 阅读 · 0 评论 -
java.lang.NoSuchMethodError org.springframework.aop.scope.ScopedProxyUtils.isSco
异常信息java.lang.NoSuchMethodError: org.springframework.aop.scope.ScopedProxyUtils.isScopedTarget(Ljava/lang/String;)Z at org.springframework.context.event.EventListenerMethodProcessor.afterSingleto...原创 2019-05-19 23:17:03 · 274 阅读 · 0 评论 -
NoClassDefFoundError: org/apache/http/ssl/SSLContexts
异常信息NoClassDefFoundError: org/apache/http/ssl/SSLContexts场景描述NoClassDefFoundError: org/apache/http/ssl/SSLContexts异常原因解决方案添加依赖接口解决 <dependency> <groupId>...原创 2019-05-19 22:26:39 · 607 阅读 · 0 评论 -
java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config
异常信息场景描述java.lang.ClassNotFoundException: javax.servlet.jsp.jstl.core.Config at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) at org.apache.catalina.lo...原创 2019-05-19 22:25:34 · 3882 阅读 · 1 评论 -
Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]
异常信息场景描述Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]异常原因一般是 servlet-api jar 包冲突解决方案可使用命令:mvn dependency:tree | grep servlet-api查找哪个依赖依赖了 servlet-api jar 包,然后使用 ...原创 2019-05-19 22:23:35 · 573 阅读 · 0 评论 -
揭露培训机构以招聘名义变相招生的欺诈套路!莫被骗!附上企业黑名单!
最近几年,得益于互联网行业的蓬勃发展,IT教育产业火的一塌糊涂。线上线下的培训机构如雨后春笋般的出现了。有人的地方就会有江湖,有江湖的地方必然有纷争!培训机构的命脉是招生,而招生的竞争又怎是一个惨烈可以形容!于是乎大大小小的培训机构各显神通,招生的套路与手段也是五花八门且层出不穷!其中也不乏一些剑走偏锋的机构,以招聘的名义变相招生进行欺诈!一、欺诈套路揭秘1、在各大招聘门户网站上发布招聘需...原创 2019-05-19 22:17:15 · 2890 阅读 · 0 评论 -
Specify @BootstrapWith's 'value' attribute or make the default bootstrapper class available.
异常信息java.lang.IllegalStateException: Could not load TestContextBootstrapper [null]. Specify @BootstrapWith's 'value' attribute or make the default bootstrapper class available. at org.springframewo...原创 2019-05-19 16:59:05 · 6799 阅读 · 0 评论 -
IntelliJ IDEA提示URI is not registered几种解决方法
IntelliJ IDEA提示URI is not registered几种解决方法使用IntelliJ IDEA (以下简称IDEA)导入项目或是在maven生成 archetype时候,如果提示错误 URI is not registered 。如下图 ↓第一种解决方法:点击 File ----> Settings ----> Schemas and DTDs , 点击下...原创 2019-05-18 22:48:03 · 28074 阅读 · 0 评论 -
引入js文件不起作用
异常信息场景描述<script type="text/javascript" src="${pageContext.request.contextPath }/dist/js/zy/index.js"></script>异常原因没有指定引入js文件的类型解决方案添加 script的type指定<script type="text/javascri...原创 2019-05-17 11:08:09 · 1532 阅读 · 0 评论 -
Cannot find class: com.github.pagehelper.PageIntercepto
Caused by: java.lang.ClassNotFoundException: Cannot find class: com.github.pagehelper.PageIntercepto原创 2019-05-14 16:26:35 · 3577 阅读 · 0 评论 -
wordpress 固定链接 页面404错误的解决方法
wordpress设置“固定链接”后,页面404错误的解决方法Nginx 解决方案:loction / {}中添加配置:#加入如下一条命令即可try_files $uri uri//index.php?uri/ /index.php?uri//index.php?args;修改完成后重启Nginx服务器生效。 #解决固定连接404 location / { try_f...原创 2019-05-12 14:52:50 · 1252 阅读 · 0 评论 -
ajax post Uncaught RangeError: Maximum call stack size exceeded
异常信息Maximum call stack size exceededjquery.min.js:4 Uncaught RangeError: Maximum call stack size exceeded at RegExp.test (<anonymous>) at Object.<anonymous> (jquery.min.js:4) ...原创 2019-05-11 18:50:54 · 976 阅读 · 0 评论 -
解决 谷歌浏览器置顶
Ctrl + Alt + Esc 解决 谷歌浏览器置顶原创 2019-05-10 23:25:26 · 5816 阅读 · 0 评论 -
ajax乱码彻底解决
post提交$.ajax({ url : '/category/add', type : 'post', async: true,//使用同步的方式,true为异步方式 data : {'name':name, 'userId':userId},//这里使用json对象 con...原创 2019-05-07 16:08:51 · 413 阅读 · 0 评论 -
添加mvc:default-servlet-handler后Controller失效
异常信息<mvc:default-servlet-handler/> 导致 Controller失效场景描述异常原因解决方案<!-- 自动扫描该包,使SpringMVC认为包下用了@controller注解的类是控制器 --> <context:component-scan base-package="com.yaosiyuan.contro...原创 2019-05-05 20:07:44 · 1308 阅读 · 1 评论 -
Multiple annotations found at this line:
Multiple annotations found at this line:- String cannot be resolved to a type- No exception of type ServletException can be thrown; an exception type must be asubclass of Throwable- The method get...原创 2019-05-04 22:42:16 · 582 阅读 · 0 评论