![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
FAQ
后台技术汇
强大自己是解决问题的唯一办法。
展开
-
遇到一个bug:java.lang.IllegalStateException: 启动子级时出错
前言:这个文章最终解决办法,并不是网上介绍的各种妙招,而是提供一个思路。结论:- 同事在配置中心的某个配置项有语法错误,导致本服务请求配置中心时,配置中心抛了500错误;- 咱们遇到这类问题,除了检查本服务应用的部署 是否有问题,还得检查依赖服务的配置;修复手段:{cipher} 改为 '{cipher}',因为配置中心的配置需要用单引号来括起来。看下日志吧(跟网上的讨论差不多)...原创 2022-07-14 16:01:03 · 2398 阅读 · 0 评论 -
FAQ(48):java.lang.NoClassDefFoundError: Could not initialize class com.smbms.controller.IndexControl
FAQ(48):java.lang.NoClassDefFoundError: Could not initialize class com.smbms.controller.IndexControl原创 2018-01-05 14:29:23 · 730 阅读 · 0 评论 -
FAQ(61):java.lang.ClassNotFoundException: javax.validation.ParameterNameProvider
FAQ(61):java.lang.ClassNotFoundException: javax.validation.ParameterNameProvider原创 2018-01-29 00:59:46 · 4003 阅读 · 2 评论 -
FAQ(62):HV000030: No validator could be found for type: java.lang.Integer.
FAQ(62):HV000030: No validator could be found for type: java.lang.Integer.原创 2018-01-29 01:01:44 · 397 阅读 · 0 评论 -
FAQ(63):java.text.ParseException: Unparseable date: "Sun Jan 28 13:30:13 CST 2018"
FAQ(63):java.text.ParseException: Unparseable date: "Sun Jan 28 13:30:13 CST 2018"原创 2018-01-29 01:05:13 · 2376 阅读 · 0 评论 -
SpringMVC(15):使用springmvc优化订单管理系统的示例(Bug解决 -- 用户查询显示的内存对象赋值)
SpringMVC(15):使用springmvc优化订单管理系统的示例(Bug解决 -- 用户查询显示的内存对象赋值)原创 2018-01-18 18:48:45 · 382 阅读 · 0 评论 -
FAQ(64):java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date
FAQ(64):java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date原创 2018-01-30 00:17:15 · 216 阅读 · 0 评论 -
FAQ(68):useradd.html:14 Uncaught ReferenceError: $ is not defined at org (useradd.html:14)
FAQ(68):useradd.html:14 Uncaught ReferenceError: $ is not defined at org (useradd.html:14)原创 2018-02-11 23:24:38 · 894 阅读 · 0 评论 -
FAQ(69):java.lang.IllegalStateException: Cannot convert value of type ‘java.lang.String‘ to required
FAQ(69):java.lang.IllegalStateException: Cannot convert value of type 'java.lang.String' to required type 'com.alibaba.fastjson.serializer.SerializerFeature' for property 'features[0]': no matching editors or conversion strategy found原创 2018-02-14 15:41:07 · 10583 阅读 · 3 评论 -
FAQ(67):java.sql.SQLException: You have an error in your SQL syntax; check the manual that correspon
FAQ(67):java.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where id=2' at line 1原创 2018-02-08 01:15:29 · 4253 阅读 · 0 评论 -
断点失效:Eclipse Unable to install breakpoint in XXX 解决办法
Eclipse debug 断点不能调试 ,Eclipse Unable to install breakpoint in 解决办法解决:【1】项目工程名 ,右键 --》 properties --》 java compiler --》class file Generation 位置 Add line number attributes to generated class files 打钩...原创 2018-03-07 18:10:26 · 25955 阅读 · 2 评论 -
FAQ(60):java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date
FAQ(60):java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date原创 2018-01-29 00:58:23 · 202 阅读 · 0 评论 -
FAQ(59):java.text.ParseException: Unparseable date: “Wed Jan 24 16:28:14 CST 2018“
FAQ(59):java.text.ParseException: Unparseable date: "Wed Jan 24 16:28:14 CST 2018"原创 2018-01-29 00:56:41 · 5943 阅读 · 0 评论 -
FAQ(49):org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/views/
FAQ(49):org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/views/原创 2018-01-09 00:19:10 · 1014 阅读 · 0 评论 -
FAQ(50):JSP:Unknown tag (c:forEach)./Can not find the tag library descriptor for "http://java.sun.co
FAQ(50):JSP:Unknown tag (c:forEach)./Can not find the tag library descriptor for "http://java.sun.co原创 2018-01-09 00:20:59 · 286 阅读 · 0 评论 -
FAQ(65):java.io.FileNotFoundException: D:\java_ee_eclipse\mmb_workplace\.metadata\.plugins\org.eclip
FAQ(65):java.io.FileNotFoundException: D:\java_ee_eclipse\mmb_workplace\.metadata\.plugins\org.eclipse.wst.server.core\tmp4\wtpwebapps\springmvc5\image\a.jpg (系统找不到指定的路径。)原创 2018-02-01 22:57:09 · 2217 阅读 · 0 评论 -
FAQ(53):JSP 页面报错:Unknown tag (c:forEach).
FAQ(53):JSP 页面报错:Unknown tag (c:forEach).原创 2018-01-18 16:17:08 · 546 阅读 · 0 评论 -
FAQ(54):No qualifying bean of type 'com.Role.Service.RoleService' available: expected at least 1 bea
FAQ(54):org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.Role.Service.RoleService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.bean原创 2018-01-18 19:04:03 · 2574 阅读 · 0 评论 -
FAQ(55):java.sql.SQLException: You have an error in your SQL syntax; check the manual that correspon
FAQ(55):jjava.sql.SQLException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1原创 2018-01-18 19:06:35 · 1254 阅读 · 0 评论 -
FAQ(56):JSP提取attribute内容出错:javax.el.PropertyNotFoundException: Property 'Code' not found on type com
FAQ(56):JSP提取attribute内容出错:javax.el.PropertyNotFoundException: Property 'Code' not found on type com原创 2018-01-18 19:09:25 · 366 阅读 · 0 评论 -
FAQ(66):java.sql.SQLException: Can not issue data manipulation statements with executeQuery().
FAQ(66):java.sql.SQLException: Can not issue data manipulation statements with executeQuery().原创 2018-02-04 16:51:23 · 276 阅读 · 0 评论 -
FAQ(57):java.sql.SQLException: Can not issue data manipulation statements with executeQuery().
FAQ(57):java.sql.SQLException: Can not issue data manipulation statements with executeQuery().原创 2018-01-29 00:51:42 · 232 阅读 · 0 评论 -
FAQ(58):com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data truncated for column 'createDate'
FAQ(58):com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data truncated for column 'createDate'原创 2018-01-29 00:54:04 · 304 阅读 · 0 评论 -
FAQ(70):java.lang.NoClassDefFoundError: net/sf/ezmorph/Morpher异常
在写一个JSONObject的小Demo时,发生了报错: 其中发现java.lang.ClassNotFoundException: net.sf.ezmorph.Morpher,很明显是没有找到相应的class。原来是除了要导入json-lib-2.1-jdk15.jar包外,还要导入其它几个依赖包:commons-beanutils.jar,commons-httpclient.jar,c...转载 2018-05-18 20:29:43 · 319 阅读 · 0 评论 -
FAQ(74):Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire ***
2018年8月31日1、日志:Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.xs.fun.base.service.GlobalNotifyService com.xs.fun.hall.service.FriendSer...原创 2018-08-31 15:52:17 · 284 阅读 · 0 评论 -
FAQ(69):Missing artifact com.alipay:alipay-sdk:jar:1.0
2018年8月31日15:39:12解决:导入maven的pom.xml正确后解决。先去maven的指定路径(公认的jar包路径)寻找并下载jar包: <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector...原创 2018-08-31 15:39:38 · 3773 阅读 · 1 评论 -
FAQ(83):### Cause: java.sql.SQLException: The table 't_account_change_6' is full
2018年8月31日1、日志:### Cause: java.sql.SQLException: The table 't_account_change_6' is full; uncategorized SQLException for SQL []; SQL state [HY000]; error code [1114]; The table 't_account_change_...原创 2018-09-02 12:21:21 · 1631 阅读 · 0 评论 -
FAQ(84):net.sf.json.JSONException: java.lang.ClassCastException: JSON keys must be strings.
2018年8月31日1、日志: Exception in thread "roomSynRoomThreadPool-0--thread-2" net.sf.json.JSONException: java.lang.ClassCastException: JSON keys must be strings. at net.sf.json.JSONObject._fromMap(J...原创 2018-09-02 12:21:43 · 913 阅读 · 0 评论 -
FAQ(85):java.sql.BatchUpdateException: Data truncation: Data too long for column
1、日志:java.sql.BatchUpdateException: Data truncation: Data too long for column 'scriptInfoMap' at row 1 at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2024)...原创 2018-09-02 12:23:10 · 1413 阅读 · 0 评论 -
FAQ(86):Ubuntu 下 idea 配置git 报错:Failed to start Git process error=13, Permission denied.
2019年06月15日今天在Ubuntu系统上部署开发环境,碰到idea的git安装配置问题,百度一下,居然只搜出一篇文章(网上大多数都是Windos系统的git配置),很尴尬,于是自己想办法,也顺手把解决方法分享一下。1)git下载与安装git 官网:https://www.git-scm.com/download/linux命令行下载安装(方便):ssh -T git@...原创 2019-06-15 23:03:19 · 1870 阅读 · 0 评论 -
FAQ(87):Ubuntu系统的idea配置Tools - Terminal 的 git 打开路径?
2019年6月16日今天给Ubuntu系统配置idea的工具时,忽然想到没有配置Windows的git安装路径,突发奇想,给terminal配置git的bin路径。。(因为日常是在Windows进行开发,习惯性的联想到环境变量等)1)/etc/profile首先我检查了配置文件,已经安装部署了git了。(可以参考:《安装部署git-FAQ》)2)idea的Tools配置项...原创 2019-06-16 17:49:14 · 511 阅读 · 0 评论 -
FAQ(88):springBoot 依赖报错:“Could not find resource 'src/checkstyle/checkstyle-suppressions.xml”
2019年8月27日https://stackoverflow.com/questions/34850125/got-could-not-find-resource-src-checkstyle-checkstyle-suppressions-xml-when-uQuestionShould not maven-checkstyle-plugin provides default c...转载 2019-08-27 12:15:31 · 2072 阅读 · 0 评论 -
FAQ(88): The HTTP response from the server [404] did not permit the HTTP upgrade to WebSocket?
2019年9月10日这天部署服务器后,发现websocket 出现连接异常,这里摘取部分重要log。log:java.util.concurrent.ExecutionException: javax.websocket.DeploymentException: The HTTP response from the server [404] did not permit the HT...原创 2019-09-10 08:44:02 · 6413 阅读 · 0 评论 -
FAQ(89): org.jooq.exception.DataAccessException: SQL [insert into "eh_short_url"."eh_url_mapping" ("
2019年9月21日1、自己用JOOQ搭建了ORM,启动springboot工程之后,插入数据报错了,先看日志:Request processing failed; nested exception is2019-09-21 18:07:20.801 ERROR 14956 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServ...原创 2019-09-21 18:17:22 · 836 阅读 · 0 评论 -
FAQ(82):Caused by: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x98'
2018年8月31日1、日志:Caused by: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x98\x98' for column 'roleName' at row 1 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at c...原创 2018-09-02 12:20:50 · 620 阅读 · 0 评论 -
FAQ(81): java.lang.NoClassDefFoundError: Decoder/BASE64Decoder
2018年8月31日1、日志:java.lang.NoClassDefFoundError: Decoder/BASE64Decoder at com.xs.fun.base.client.ImageClient.uploadImageByBase64Data(ImageClient.java:35) at com.xs.fun.hall.service.AccountService...原创 2018-09-02 12:19:51 · 3282 阅读 · 0 评论 -
FAQ(80):java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification
2018年8月31日1、日志:2018-04-13 20:00:55.757:WARN:oejs.ServletHandler:/g01-web/admin/activityManager/sendActivity.jspjava.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComod...原创 2018-09-02 12:19:35 · 2549 阅读 · 0 评论 -
FAQ(70):Multiple annotations found at this line:
2018年8月31日15:40:071、全部日志:Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path - The superclass "javax.servlet.http....原创 2018-08-31 15:40:43 · 216 阅读 · 0 评论 -
FAQ(71): Error in Javac compilation for JSP||PWC6197: An error occurred at line: 20 in the jsp file:
1、日志:2018-03-12 15:23:58.450:WARN:oejs.ServletHandler:org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP||PWC6197: An error occurred at line: 20 in the jsp file: /admin...原创 2018-08-31 15:42:40 · 1246 阅读 · 0 评论 -
FAQ(72):### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
2018年8月31日15:44:471、日志### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'roleId' in 'field list'; bad SQL grammar []; nested exception is com.mysql.jdbc.except...原创 2018-08-31 15:46:22 · 3177 阅读 · 3 评论